This commit is contained in:
2020-10-22 21:51:07 +00:00
parent 54106205af
commit bd5f57b42d
3 changed files with 31 additions and 2 deletions

View File

@@ -515,6 +515,18 @@ https://github.com/rsubr/postgresql-portable/releases/tag/v12.1
Also this:
https://www.postgresonline.com/journal/archives/172-Starting-PostgreSQL-in-windows-without-install.html
HOW I DO IT FOR WINDOWS
=-=-=-=-=-=-=-=-=-=-=-=-
See win-x64 folder structure.
Basically download the binary for w64, extract and keep only the folders bin, lib and share
in the win-x64 data folder need to init a new database using this command:
..\postgres\bin\initdb -U postgres -D .\database
That will init a new fresh db with postgres user, no password and in a folder called database to sit beside the other data folders being disted (backup files, logs, user files)
DOCKER POSTGRES DEVELOPMENT STATION COMMANDS AND USEFUL INFO
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-