Re: from PG_DUMP to CVS - Mailing list pgsql-sql

From Philip Warner
Subject Re: from PG_DUMP to CVS
Date
Msg-id 6.1.1.1.0.20040827210840.06bd3ad0@203.8.195.10
Whole thread Raw
In response to Re: from PG_DUMP to CVS  (Josh Berkus <josh@agliodbs.com>)
Responses Re: from PG_DUMP to CVS  ("Riccardo G. Facchini" <abief_ag_-postgresql@yahoo.com>)
Re: from PG_DUMP to CVS  (Josh Berkus <josh@agliodbs.com>)
List pgsql-sql
At 02:38 PM 27/08/2004, Josh Berkus wrote:
>If it's Perl, I'd be interested in contributing.   I've long needed something
>like this myself.

My thinking at this stage is to try to get pg_dump/restore to produce the 
output directly. Something like:
    some-dbname/create.sql    some-dbname/drop.sql    some-dbname/econding.sql    ...
some-dbname/some-schema/TABLE/sometable/create.sql   some-dbname/some-schema/TABLE/sometable/drop.sql    ...
some-dbname/some-schema/CONSTRAINT/someconstraint/create.sql
some-dbname/some-schema/CONSTRAINT/someconstraint/create.sql   ...    some-dbname/some-schema/ACL/some-table.sql
some-dbname/some-schema/ACL/some-function(int).sql   ...
 

etc.

This would be easy. Question is, how useful would it be?



----------------------------------------------------------------
Philip Warner                    |     __---_____
Albatross Consulting Pty. Ltd.   |----/       -  \
(A.B.N. 75 008 659 498)          |          /(@)   ______---_
Tel: (+61) 0500 83 82 81         |                 _________  \
Fax: (+61) 03 5330 3172          |                 ___________ |
Http://www.rhyme.com.au          |                /           \|                                 |    --________--
PGP key available upon request,  |  /
and from pgp.mit.edu:11371       |/ 



pgsql-sql by date:

Previous
From: Kenneth Gonsalves
Date:
Subject: Re: backup of a specific schema
Next
From: "Nosyman"
Date:
Subject: GRANT ON all tables