Re: Generating an ANSI compliant schema recreation script

Поиск
Список
Период
Сортировка
От J French
Тема Re: Generating an ANSI compliant schema recreation script
Дата
Msg-id 35b7725f0510291754v512ad017tb231138cd2d8e4ba@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Generating an ANSI compliant schema recreation script  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
No problems.  I am about to write a python script to cleanup the output of pg_dump.  Before I do I just wanted to verify that there wasn't an already available script which I could feed  directly into another ansi compliant database without modification.  No sense reinventing the wheel.  The output of pg_dump is pretty clean for this purpose already. just thought I'd ask beforehand.

On 10/29/05, Tom Lane <tgl@sss.pgh.pa.us> wrote:
J French <hikenboots@gmail.com> writes:
> I did read the page. Been there done that, ran the script. My question was
> if there was a canned script out there that I didn't have to clean up on the
> fly. This will be an cron job for a convoluted development process.

If your schema isn't using any non-standard features, I would think that
the result of pg_dump would be pretty standard, with the exception of a
few SET commands at the front and the ALTER OWNER commands.  (The latter
can be suppressed with --no-owner.)  What exactly is giving you a
problem?

                       regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Generating an ANSI compliant schema recreation script
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: difficulty formating interval datatypes in 7.4