Re: comparing database schema's

Поиск
Список
Период
Сортировка
От Vincent Hikida
Тема Re: comparing database schema's
Дата
Msg-id 02b201c3508b$03c56450$210110ac@HOMEOFFICE
обсуждение исходный текст
Ответ на comparing database schema's  (John Harrold <jmh17@pitt.edu>)
Список pgsql-general
I wrote a utility once at a company where I worked previously that did this.
It did compared the meta data tables of the the two schemas. This was in
Oracle though. I think it took me less than a week to do. It might be a nice
utility to build for postgres.

It started with code as

SELECT TABLE_NAME
     FROM USER_TABLES
MINUS
SELECT TABLE_NAME
    FROM USER_TABLES@XYZ
/
And vice versa.

It then compared columns of common tables, the characteristics of the
columns, the indexes etc and used PL/SQL.

Vincent Hikida,
Member of Technical Staff - Urbana Software, Inc.
"A Personalized Learning Experience"

www.UrbanaSoft.com

----- Original Message -----
From: "John Harrold" <jmh17@pitt.edu>
To: <pgsql-general@postgresql.org>
Sent: Tuesday, July 22, 2003 11:46 AM
Subject: [GENERAL] comparing database schema's




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] INSTEAD rule bug?
Следующее
От: "scott.marlowe"
Дата:
Сообщение: pronouncing postgresql