Re: Comment on Database and Admin Metadata

Поиск
Список
Период
Сортировка
От David F. Skoll
Тема Re: Comment on Database and Admin Metadata
Дата
Msg-id Pine.LNX.4.53.0305141229090.20174@shishi.roaringpenguin.com
обсуждение исходный текст
Ответ на Comment on Database and Admin Metadata  ("Kuhn, Dylan K (4520500D)" <Dylan.Kuhn@navy.mil>)
Список pgsql-admin
On Wed, 14 May 2003, Kuhn, Dylan K (4520500D) wrote:

> We use a version-controlled model for our database design, and would
> like to know what model version any particular database implements.  A
> client can thereby determine by the model version if it is able to use
> the database.

I use a special table called "schema" that holds a one-row entry with
the schema version number.  The upgrade scripts can extract the
existing schema and do any necessary adjustments to bring the schema
up-to-date.

It's not sophisticated, but it works.

--
David.

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

Предыдущее
От: "Kuhn, Dylan K (4520500D)"
Дата:
Сообщение: Comment on Database and Admin Metadata
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Comment on Database and Admin Metadata