new postgres syntax on createdb on 8.3
This commit is contained in:
parent
f54390bd6e
commit
32978c0063
|
@ -23,7 +23,7 @@
|
|||
@set ADEMPIERE_CREATE_ROLE_SQL=
|
||||
|
||||
@set PGPASSWORD=%3
|
||||
@createdb %ADEMPIERE_DB_NAME% -E UNICODE -O %2 -U %2
|
||||
@createdb -E UNICODE -O %2 -U %2 %ADEMPIERE_DB_NAME%
|
||||
|
||||
@echo -------------------------------------
|
||||
@echo Import Adempiere_pg.dmp
|
||||
|
|
|
@ -31,7 +31,7 @@ psql -U postgres -c "$ADEMPIERE_CREATE_ROLE_SQL"
|
|||
ADEMPIERE_CREATE_ROLE_SQL=
|
||||
|
||||
export PGPASSWORD=$3
|
||||
createdb $ADEMPIERE_DB_NAME -E UNICODE -O $2 -U $2
|
||||
createdb -E UNICODE -O $2 -U $2 $ADEMPIERE_DB_NAME
|
||||
|
||||
echo -------------------------------------
|
||||
echo Import Adempiere_pg.dmp
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
@set ADEMPIERE_CREATE_ROLE_SQL=
|
||||
|
||||
@set PGPASSWORD=%3
|
||||
@createdb %ADEMPIERE_DB_NAME% -E UNICODE -O %2 -U %2
|
||||
@createdb -E UNICODE -O %2 -U %2 %ADEMPIERE_DB_NAME%
|
||||
|
||||
@echo -------------------------------------
|
||||
@echo Import Adempiere_pg.dmp
|
||||
|
|
|
@ -31,7 +31,7 @@ psql -U postgres -c "$ADEMPIERE_CREATE_ROLE_SQL"
|
|||
ADEMPIERE_CREATE_ROLE_SQL=
|
||||
|
||||
export PGPASSWORD=$3
|
||||
createdb $ADEMPIERE_DB_NAME -E UNICODE -O $2 -U $2
|
||||
createdb -E UNICODE -O $2 -U $2 $ADEMPIERE_DB_NAME
|
||||
|
||||
echo -------------------------------------
|
||||
echo Import Adempiere_pg.dmp
|
||||
|
|
Loading…
Reference in New Issue