set default search path
This commit is contained in:
parent
ed7ac1e533
commit
eb83efa858
|
@ -27,8 +27,12 @@
|
|||
@echo -------------------------------------
|
||||
@echo Import Adempiere_pg.dmp
|
||||
@echo -------------------------------------
|
||||
@set ADEMPIERE_ALTER_ROLE_SQL=ALTER ROLE %2 SET search_path TO adempiere, sqlj, pg_catalog
|
||||
@psql -d %ADEMPIERE_DB_NAME% -U %2 -c "%ADEMPIERE_ALTER_ROLE_SQL%"
|
||||
@psql -d %ADEMPIERE_DB_NAME% -U %2 -c "drop schema sqlj cascade"
|
||||
@psql -d %ADEMPIERE_DB_NAME% -U %2 -f %ADEMPIERE_HOME%/data/Adempiere_pg.dmp
|
||||
@set ADEMPIERE_ALTER_ROLE_SQL=
|
||||
|
||||
|
||||
@set PGPASSWORD=
|
||||
@goto end
|
||||
|
|
Loading…
Reference in New Issue