Re: from PG_DUMP to CVS

Поиск
Список
Период
Сортировка
От Philip Warner
Тема Re: from PG_DUMP to CVS
Дата
Msg-id 6.1.1.1.0.20040827210840.06bd3ad0@203.8.195.10
обсуждение исходный текст
Ответ на Re: from PG_DUMP to CVS  (Josh Berkus <josh@agliodbs.com>)
Ответы 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>)
Список 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 по дате отправления:

Предыдущее
От: Kenneth Gonsalves
Дата:
Сообщение: Re: backup of a specific schema
Следующее
От: "Nosyman"
Дата:
Сообщение: GRANT ON all tables