Re: [SQL] Postgres schema comparison.

Поиск
Список
Период
Сортировка
От Markus Schaber
Тема Re: [SQL] Postgres schema comparison.
Дата
Msg-id 422C42B7.1030509@logix-tt.com
обсуждение исходный текст
Ответ на Postgres schema comparison.  (Stef <svb@ucs.co.za>)
Ответы Re: [SQL] Postgres schema comparison.  (Stef <svb@ucs.co.za>)
Список pgsql-admin
Hi, Stef,

Stef schrieb:

> It will be a bonus to pick up exactly what is missing, but for now, just identifying
> differences is what I want to achieve. I'm using postgres 7.3 mostly, but
> I may want to use this for 7.4 and 8.0 databases as well.
>
> Has anybody got some suggestions of what I can do or use to do this.

There are (at least) two independently developed pgdiff applications,
they can be found at:

http://pgdiff.sourceforge.net/

http://gborg.postgresql.org/project/pgdiff/projdisplay.php

I did not try the first one, but the latter one worked on some of my
datas, but fails on others. I filed a bug report some time ago, but got
no answer, so I'm afraid this tool currently is unmaintained:
http://gborg.postgresql.org/project/pgdiff/bugs/bugupdate.php?895

But maybe a pg_dump --schema-only on all the databases, and then
manually diffing the files may already fulfil your needs.


Markus

--
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org

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

Предыдущее
От: Radtchenko Igor
Дата:
Сообщение: Re: Build from file syntax troublem (part II).
Следующее
От: John DeSoi
Дата:
Сообщение: Re: Postgres schema comparison.