Remove comment on standard schema

This commit is contained in:
sparkyx 2007-05-31 21:57:16 +00:00
parent c7547258f5
commit 89336863e7
8 changed files with 8 additions and 8 deletions

View file

@ -1,4 +1,5 @@
pg_dump -O -U phpcompta -s mod2 | awk '!/--/ {if ( ! /^$/) print $0;}' > schema.sql
pg_dump -O -U phpcompta -s mod2 | awk '!/--/ {if ( ! /^$/) print
$0;}'|grep -v "COMMENT ON SCHEMA public IS 'Standard public schema';" > schema.sql
awk '/SEQUENCE/,/;/ { print $0;}' < schema.sql > sequence.sql
awk '/CREATE DOMAIN/,/;/ { print $0;}' < schema.sql > table.sql
awk '/CREATE TABLE/,/;/ { print $0;}' < schema.sql >> table.sql