pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Matteo Beccati <m.beccati@crpsoftware.it>
To: pgsql-sql@postgresql.org
Subject: Re: thinking about versioning my database schema
Date: Tue, 5 Mar 2002 09:13:16 +0100
Message-ID: <2780D698C269CB4EB303715BA48B6A10336F@sole.CRP> (raw)
In-Reply-To: <2780D698C269CB4EB303715BA48B6A10017759@sole.CRP>

Hi,

> How about a script that dumps your data, dumps your db, 
> reloads the table
> definitions, then reloads your data? You could have a table 
> with rows for
> every table that would keep track of the current version you 
> have, that
> could be updated when this script ran.

This is exactly what I did for the update script of my own project
phpPgAds...

You could take a look to the code if you're interested

http://phppgads.sourceforge.net

Regards
--
Matteo Beccati




view thread (5+ messages)

Message-ID: <2780D698C269CB4EB303715BA48B6A10336F@sole.CRP>
Permalink:  ../2780D698C269CB4EB303715BA48B6A10336F@sole.CRP/
Also on:    postgresql.org/message-id/2780D698C269CB4EB303715BA48B6A10336F@sole.CRP

 · 

reply

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: m.beccati@crpsoftware.it
  Subject: Re: thinking about versioning my database schema
  In-Reply-To: <2780D698C269CB4EB303715BA48B6A10336F@sole.CRP>

* 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