Set the DB to the version 202 for NOALYSS9.3

correct make-sql
This commit is contained in:
sparkyx 2024-09-08 18:10:06 +02:00
parent 5b8b3e19dd
commit 9a672697e5
7 changed files with 495 additions and 357 deletions

View file

@ -16,4 +16,7 @@ sed -ne '0,/ADD CONSTRAINT/p' schema.sql > tmpSchema.sql
sed -ne '/ADD CONSTRAINT/,$p' schema.sql |sed -e '1d' > constraint.sql
cp tmpSchema.sql schema.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