Re: Comparing database schema's

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Comparing database schema's
Дата
Msg-id 17277.1091495723@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Comparing database schema's  (Frank Kurzawa <fkurzawa@topazsoftware.com>)
Ответы Re: Comparing database schema's  (Gaetano Mendola <mendola@bigfoot.com>)
Список pgsql-novice
Frank Kurzawa <fkurzawa@topazsoftware.com> writes:
> How are people doing automated comparisons of schemas in different databases?

> I've experimented some with 'pg_dump -s' to do this: Do a schema dump
> on the two databases and a diff. But due to myriad small differences
> (order of creation of tables, constraints, etc.) it is very difficult
> to get a usable diff without engaging in massive massage of the dump
> output, including dumping a table at a time.

FWIW, some attention has been paid to this issue recently.  I think CVS
tip pg_dump is more useful for this task than existing releases.  Don't
suppose you'd want to try it out?

            regards, tom lane

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

Предыдущее
От: Gaetano Mendola
Дата:
Сообщение: Re: Comparing database schema's
Следующее
От: mike g
Дата:
Сообщение: Re: error in compiling the function -- need help !!!