pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Philip Warner <pjw@rhyme.com.au>
To: Josh Berkus <josh@agliodbs.com>
To: abief_ag_-postgresql@yahoo.com, Kenneth Gonsalves <lawgon@thenilgiris.com>
To: pgsql-sql@postgresql.org
Subject: Re: from PG_DUMP to CVS
Date: Fri, 27 Aug 2004 21:15:08 +1000
Message-ID: <6.1.1.1.0.20040827210840.06bd3ad0@203.8.195.10> (raw)
In-Reply-To: <200408262138.30766.josh@agliodbs.com>
References: <20040826120504.58934.qmail@web13925.mail.yahoo.com>
	<200408262138.30766.josh@agliodbs.com>

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       |/ 




view thread (13+ messages)  latest in thread

Message-ID: <6.1.1.1.0.20040827210840.06bd3ad0@203.8.195.10>
Permalink:  ../6.1.1.1.0.20040827210840.06bd3ad0@203.8.195.10/
Also on:    postgresql.org/message-id/6.1.1.1.0.20040827210840.06bd3ad0@203.8.195.10

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: pjw@rhyme.com.au, josh@agliodbs.com, lawgon@thenilgiris.com
  Subject: Re: from PG_DUMP to CVS
  In-Reply-To: <6.1.1.1.0.20040827210840.06bd3ad0@203.8.195.10>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox