How to compare the schemas ?

Поиск
Список
Период
Сортировка
От Milorad Poluga
Тема How to compare the schemas ?
Дата
Msg-id 200506231611.08521.milorad.poluga@cores.co.yu
обсуждение исходный текст
Ответы Re: How to compare the schemas ?  (Peter Eisentraut <peter_e@gmx.net>)
Re: How to compare the schemas ?  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-admin
Hi everyone,

I am looking for the best way to compare the schemas of two databases with the very similar structure.
One (certainly not the best options) is to do something like this:

pg_dump ... DB1  > PG_SCHEMA1
pg_dump ... DB2  > PG_SCHEMA2
diff  PG_SCHEMA1  PG_SCHEMA2  > differences.txt

kwrite differences.txt

Any suggestions or ideas on how to overcome this are welcome.

Thanks in advance,

Milorad Poluga                        
HK CORES Beograd, Makenzijeva 31
milorad.poluga@cores.co.yu                      

--
---------------------------------------
Milorad Poluga                        
HK CORES Beograd, Makenzijeva 31
milorad.poluga@cores.co.yu                      
+381-11-30-80-461              
---------------------------------------


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

Предыдущее
От: Paul Keyes
Дата:
Сообщение: moving database to diff. server
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: moving database to diff. server