This commit is contained in:
@@ -246,3 +246,14 @@ Good test time zones:
|
||||
America/St_Johns - because it has a fractional hour difference
|
||||
America/New_York
|
||||
America/Los_Angeles
|
||||
|
||||
|
||||
## How to make a postgres portable from binaries
|
||||
download latest binaries: https://www.enterprisedb.com/download-postgresql-binaries
|
||||
unzip latest binaries to a source folder
|
||||
make a dest folder in c:\data\code\postgres_xx
|
||||
copy bin, lib, share folders from source to dest
|
||||
Create a new db, run this once:
|
||||
c:\data\code\postgres_14\bin\initdb -D ^"C^:^\data^\code^\postgres^_14^\ayanova^" -U postgres -A trust
|
||||
that's it, run it with:
|
||||
C:\data\code\postgres_14\bin\pg_ctl -D ^"C^:^\data^\code^\postgres^_14^\ayanova^" -l logfile start
|
||||
Reference in New Issue
Block a user