This commit is contained in:
Dany De Bontridder 2018-02-10 22:32:39 +01:00
parent e1e56eae86
commit 26faa009d2
10 changed files with 4 additions and 610 deletions

View file

@ -34,7 +34,7 @@ sed -i -e "/REVOKE /d" -e "/GRANT /d" -e "/ALTER TABLE.*/d" -e "/ADD CONSTRAINT/
grep setval schema.sql >> sequence.sql
echo "set search_path = public, comptaproc,pg_catalog ;" > data.sql
echo "set search_path = public,comptaproc,pg_catalog ;" > data.sql
pg_dump -O -U dany --data-only --column-inserts -O ${TEMPLATE}|sed "/^--/d" | sed -e "/SET search_path/d" >> data.sql