Re: Database Comparison tool?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Database Comparison tool?
Дата
Msg-id 12664.1139582862@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Database Comparison tool?  (Rick Gigger <rick@alpinenetworking.com>)
Список pgsql-general
[ please refrain from top-quoting, and try not to repeat the entire
  previous post; we do have archives you know ]

Rick Gigger <rick@alpinenetworking.com> writes:
> On Feb 9, 2006, at 1:03 PM, Philippe Ferreira wrote:
>> Do a "pgdump" of both databases, and use the "diff" tool to compare
>> the two generated files !

> Is the ordering guaranteed to be the same on both boxes if you do this?

For recent pg_dumps (since 8.0 I think) it should be the same as long
as both DBs are actually identical.  If there are different interobject
dependencies, that might force different dump orders.

            regards, tom lane

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

Предыдущее
От: Tham Shiming
Дата:
Сообщение: Dropping a database that does not exist
Следующее
От: Tom Lane
Дата:
Сообщение: Re: implicit cast of empty string to timestamp