notes/db/sql/postgres/feature/init/init-win.txt
Ihar Hancharenka 5dff80e88e first
2023-03-27 16:52:17 +03:00

29 строки
1.1 KiB
Plaintext

.\bin\initdb.exe -U postgres -E UTF8 --locale=en_US .\data\
The files belonging to this database system will be owned by user "Ihar_Hancharenka".
This user must also own the server process.
The database cluster will be initialized with locale "English_United States.1252".
The default database encoding has accordingly been set to "WIN1252".
The default text search configuration will be set to "english".
Data page checksums are disabled.
fixing permissions on existing directory ./data ... ok
creating subdirectories ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting default timezone ... Europe/Minsk
selecting dynamic shared memory implementation ... windows
creating configuration files ... ok
running bootstrap script ... ok
performing post-bootstrap initialization ... ok
syncing data to disk ... ok
WARNING: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the option -A, or
--auth-local and --auth-host, the next time you run initdb.
Success. You can now start the database server using:
"D:\dev\utils\pgsql\bin\pg_ctl" -D ".\data\" -l logfile start