This commit is contained in:
19
startsql.bat
19
startsql.bat
@@ -1,4 +1,21 @@
|
||||
REM docker start dock-pg10 dock-pgadmin
|
||||
REM docker run --rm --name pg -p 5432:5432 -e POSTGRES_PASSWORD=raven -e POSTGRES_DB=AyaNova -d postgres:latest
|
||||
REM GONE PORTABLE INSTEAD
|
||||
start C:\data\code\PostgreSQLPortable_12.0\postgresqlportable.exe
|
||||
rem start C:\data\code\PostgreSQLPortable_12.0\postgresqlportable.exe
|
||||
|
||||
C:\data\code\postgres_13\bin\pg_ctl -D ^"C^:^\data^\code^\postgres^_13^\ayanova^" -l logfile start
|
||||
|
||||
@REM @ECHO OFF
|
||||
@REM setlocal
|
||||
@REM SET PATH="%~dp0postgres\bin";%PATH%
|
||||
@REM SET PGDATA=%~dp0data\database
|
||||
@REM SET PGDATABASE=AyaNova
|
||||
@REM SET PGUSER=postgres
|
||||
@REM SET PGPORT=5432
|
||||
@REM SET PGLOCALEDIR=%~dp0postgres\share\locale
|
||||
@REM "%~dp0\postgres\bin\pg_ctl" -D "%~dp0/data/database" -l %~dp0data\logs\postgreslog start
|
||||
|
||||
@REM ECHO Press any key to stop POSTGRES database server
|
||||
@REM pause
|
||||
@REM "%~dp0\postgres\bin\pg_ctl" -D "%~dp0/data/database" stop
|
||||
@REM endlocal
|
||||
Reference in New Issue
Block a user