This commit is contained in:
2023-05-02 22:12:23 +00:00
parent 2fdf550927
commit 7efdf58bcf
3 changed files with 6 additions and 5 deletions

4
.vscode/launch.json vendored
View File

@@ -63,11 +63,11 @@
"AYANOVA_DB_CONNECTION": "Server=localhost;Username=postgres;Password=raven;Database=AyaNova;CommandTimeout=300;", "AYANOVA_DB_CONNECTION": "Server=localhost;Username=postgres;Password=raven;Database=AyaNova;CommandTimeout=300;",
"AYANOVA_DATA_PATH": "c:\\temp\\ravendata", "AYANOVA_DATA_PATH": "c:\\temp\\ravendata",
"AYANOVA_USE_URLS": "http://*:7575;", "AYANOVA_USE_URLS": "http://*:7575;",
//"AYANOVA_PERMANENTLY_ERASE_DATABASE":"true", "AYANOVA_PERMANENTLY_ERASE_DATABASE":"true",
//"AYANOVA_REMOVE_LICENSE_FROM_DB":"true", //"AYANOVA_REMOVE_LICENSE_FROM_DB":"true",
//"AYANOVA_REPORT_RENDERING_TIMEOUT":"1", //"AYANOVA_REPORT_RENDERING_TIMEOUT":"1",
//"AYANOVA_REPORT_RENDER_API_URL_OVERRIDE": "http://localhost:7575", //"AYANOVA_REPORT_RENDER_API_URL_OVERRIDE": "http://localhost:7575",
"AYANOVA_BACKUP_PG_DUMP_PATH": "C:\\data\\code\\postgres_14\\bin" "AYANOVA_BACKUP_PG_DUMP_PATH": "C:\\data\\code\\postgres_15\\bin"
}, },
"sourceFileMap": { "sourceFileMap": {
"/Views": "${workspaceFolder}/Views" "/Views": "${workspaceFolder}/Views"

View File

@@ -15,7 +15,8 @@ If form is too long just take multiple vertically scrolling with whitespace in b
//http://www.patorjk.com/software/taag/#p=display&f=ANSI%20Shadow&t=PM //http://www.patorjk.com/software/taag/#p=display&f=ANSI%20Shadow&t=PM
## How to make a postgres portable from binaries ## How to make a postgres portable standalone from binaries
NOTE: transferred this to an INFO case 4521 2023-04-27
download latest binaries: https://www.enterprisedb.com/download-postgresql-binaries download latest binaries: https://www.enterprisedb.com/download-postgresql-binaries
unzip latest binaries to a source folder unzip latest binaries to a source folder
make a dest folder in c:\data\code\postgres_xx make a dest folder in c:\data\code\postgres_xx

View File

@@ -3,10 +3,10 @@
@rem old version @rem old version
@rem C:\data\code\postgres_13\bin\pg_ctl -D ^"C^:^\data^\code^\postgres^_13^\ayanova^" -l logfile start @rem C:\data\code\postgres_13\bin\pg_ctl -D ^"C^:^\data^\code^\postgres^_13^\ayanova^" -l logfile start
C:\data\code\postgres_14\bin\pg_ctl -D ^"C^:^\data^\code^\postgres^_14^\ayanova^" -l logfile start C:\data\code\postgres_15\bin\pg_ctl -D ^"C^:^\data^\code^\postgres^_15^\ayanova^" -l logfile start
ECHO Press any key to stop POSTGRES database server ECHO Press any key to stop POSTGRES database server
pause pause
C:\data\code\postgres_14\bin\pg_ctl -D ^"C^:^\data^\code^\postgres^_14^\ayanova^" stop C:\data\code\postgres_15\bin\pg_ctl -D ^"C^:^\data^\code^\postgres^_15^\ayanova^" stop
@REM @ECHO OFF @REM @ECHO OFF
@REM setlocal @REM setlocal