d:\temp\postgres>unzip -q postgresql-13.2-1-windows-x64-binaries.zip
d:\temp\postgres>dir
Datenträger in Laufwerk D: ist data
Volumeseriennummer: 98A6-075C
Verzeichnis von d:\temp\postgres
24.02.2021 22:15 <DIR> .
24.02.2021 22:15 <DIR> ..
09.02.2021 07:27 <DIR> pgsql
11.02.2021 09:57 214.345.722 postgresql-13.2-1-windows-x64-binaries.zip
1 Datei(en), 214.345.722 Bytes
3 Verzeichnis(se), 974.230.814.720 Bytes frei
d:\temp\postgres>.\pgsql\bin\initdb -D .\pgdata -W -U postgres -E UTF8 -A scram-sha-256
The files belonging to this database system will be owned by user "ARTHUR".
This user must also own the server process.
The database cluster will be initialized with locale "German_Germany.1252".
The default text search configuration will be set to "german".
Data page checksums are disabled.
Enter new superuser password:
Enter it again:
creating directory ./pgdata ... ok
creating subdirectories ... ok
selecting dynamic shared memory implementation ... windows
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting default time zone ... CET
creating configuration files ... ok
running bootstrap script ... ok
performing post-bootstrap initialization ... ok
syncing data to disk ... ok
Success. You can now start the database server using:
./pgsql/bin/pg_ctl -D ^"^.^\pgdata^" -l logfile start
d:\temp\postgres>.\pgsql\bin\pg_ctl -w -D ".\pgdata" -l startup.log start
waiting for server to start.... done
server started
d:\temp\postgres>.\pgsql\bin\psql -U postgres -d postgres
Password for user postgres:
psql (13.2)
Type "help" for help.
postgres=# select version();
version
------------------------------------------------------------
PostgreSQL 13.2, compiled by Visual C++ build 1914, 64-bit
(1 row)
postgres=#