Re: Comparing databases

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Comparing databases
Дата
Msg-id 27885.1137011679@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Comparing databases  ("Sugrue, Sean" <Sean.Sugrue@analog.com>)
Ответы Re: Comparing databases  (Brendan Duddridge <brendan@clickspace.com>)
Список pgsql-novice
"Sugrue, Sean" <Sean.Sugrue@analog.com> writes:
> Does anyone know how to structurally compare a list of tables
> between two different databases without going
> through them one by one?

You might try "pg_dump -s" on both databases and diff the output.
Not a perfect tool but it will serve for minor differences.

            regards, tom lane

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

Предыдущее
От: "Sugrue, Sean"
Дата:
Сообщение: Comparing databases
Следующее
От: Steve Tucknott
Дата:
Сообщение: Open Office2