Re: Comment on Database and Admin Metadata

From: "David F(dot) Skoll" <dfs(at)roaringpenguin(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Comment on Database and Admin Metadata
Date: 2003-05-14 16:30:43
Message-ID: Pine.LNX.4.53.0305141229090.20174@shishi.roaringpenguin.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2003-05-14 16:46:31 Re: Comment on Database and Admin Metadata
Previous Message Kuhn, Dylan K (4520500D) 2003-05-14 16:22:26 Comment on Database and Admin Metadata