Skip site navigation (1) Skip section navigation (2)

Re: from PG_DUMP to CVS

From: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
To: Josh Berkus <josh(at)agliodbs(dot)com>, abief_ag_-postgresql(at)yahoo(dot)com,Kenneth Gonsalves <lawgon(at)thenilgiris(dot)com>, pgsql-sql(at)postgresql(dot)org
Subject: Re: from PG_DUMP to CVS
Date: 2004-08-27 11:15:08
Message-ID: 6.1.1.1.0.20040827210840.06bd3ad0@203.8.195.10 (view raw, whole thread or download thread mbox)
Thread:
Lists: 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       |/ 


In response to

Responses

pgsql-sql by date

Next:From: Riccardo G. FacchiniDate: 2004-08-27 13:06:42
Subject: Re: from PG_DUMP to CVS
Previous:From: TroyDate: 2004-08-27 09:32:51
Subject: Re: Aggregate query for multiple records

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group