Re: Postgres schema comparison.

Поиск
Список
Период
Сортировка
От John DeSoi
Тема Re: Postgres schema comparison.
Дата
Msg-id F393FF18-8F05-11D9-A12B-000A95B03262@pgedit.com
обсуждение исходный текст
Ответ на Postgres schema comparison.  (Stef <svb@ucs.co.za>)
Ответы Re: Postgres schema comparison.
Список pgsql-admin
On Mar 7, 2005, at 4:33 AM, Stef wrote:

> I have the wonderful job of re-synch'ing  all the schemas out there not
> conforming to the master. I've looked everywhere for something that
> will help doing this. I'm specifically looking for a way to do a
> sumcheck
> or something similar on tables and/or schema as a whole to be able to
> do a table comparison with the master database.
>

Develop a function that builds a string describing the tables/schemas
you want to compare. Then have your function return the md5 sum of the
string as the result. This will give you a 32 character value you can
use to determine if there is a mismatch.


John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL


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

Предыдущее
От: Markus Schaber
Дата:
Сообщение: Re: [SQL] Postgres schema comparison.
Следующее
От: Stef
Дата:
Сообщение: Re: [SQL] Postgres schema comparison.