From: Dan Langille <dan@langille.org>
To: Janning Vygen <vygen@gmx.de>
Cc: pgsql-admin@postgresql.org
Subject: Re: [SQL] thinking about versioning my database schema
Date: Mon, 4 Mar 2002 02:51:47 -0500
Message-ID: <200203040751.g247pnk73214@lists.unixathome.org> (raw)
In-Reply-To: <200203040710.g247AOj05681@janning.planwerk6.local>
On 4 Mar 2002 at 8:10, Janning Vygen wrote:
> So i am saving the schema version inside the databse. Is it a good
> idea? or is it nonsens and there is a much better way how to do it?
I have a system table. One of the fields is the database version. If I
change the schema, I modify the version. The applications knows what
version it can run with. If it finds an older version, it reports this ot
the user and suggests they upgrade their database.
--
Dan Langille
The FreeBSD Diary - http://freebsddiary.org/ - practical examples
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: dan@langille.org, vygen@gmx.de, pgsql-admin@postgresql.org
Subject: Re: [SQL] thinking about versioning my database schema
In-Reply-To: <200203040751.g247pnk73214@lists.unixathome.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox