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,4 @@
pg_dump -O -U phpcompta -s account_repository | awk '!/--/ {if ( ! /^$/) print $0;}' > schema.sql
pg_dump -O -U phpcompta -s account_repository | 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

View file

@ -1,7 +1,7 @@
SET client_encoding = 'LATIN1';
SET check_function_bodies = false;
SET client_min_messages = warning;
COMMENT ON SCHEMA public IS 'Standard public schema';
SET search_path = public, pg_catalog;
SET default_tablespace = '';
SET default_with_oids = false;

View file

@ -1,4 +1,4 @@
pg_dump -O -U phpcompta -s dossier1 | awk '!/--/ {if ( ! /^$/) print $0;}' > schema.sql
pg_dump -O -U phpcompta -s dossier1 | 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

View file

@ -1,7 +1,7 @@
SET client_encoding = 'LATIN1';
SET check_function_bodies = false;
SET client_min_messages = warning;
COMMENT ON SCHEMA public IS 'Standard public schema';
SET search_path = public, pg_catalog;
CREATE DOMAIN poste_comptable AS numeric(25,0);
CREATE FUNCTION account_add(p_id poste_comptable, p_name character varying) RETURNS void

View file

@ -1,4 +1,4 @@
pg_dump -O -U phpcompta -s mod1 > schema.sql
pg_dump -O -U phpcompta -s mod1|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

View file

@ -10,7 +10,6 @@ SET client_min_messages = warning;
-- Name: SCHEMA public; Type: COMMENT; Schema: -; Owner: postgres
--
COMMENT ON SCHEMA public IS 'Standard public schema';
--

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

View file

@ -1,7 +1,7 @@
SET client_encoding = 'LATIN1';
SET check_function_bodies = false;
SET client_min_messages = warning;
COMMENT ON SCHEMA public IS 'Standard public schema';
SET search_path = public, pg_catalog;
CREATE DOMAIN poste_comptable AS numeric(25,0);
CREATE FUNCTION account_add(p_id poste_comptable, p_name character varying) RETURNS void