Re: Database version control - Mailing list pgsql-novice

From Shane Ambler
Subject Re: Database version control
Date
Msg-id 4742866F.3020604@Sheeky.Biz
Whole thread Raw
In response to Database version control  (Alex du Plessis <alexdup01@telkomsa.net>)
List pgsql-novice
Alex du Plessis wrote:
> Hello list,
>
> Is there any way to do version control on a database from one
> application version to another?
>
> IE how do I do an upgrade (or even know that I have to do an upgrade) of
> the database when I have a new application release.
>

Provided you have a copy of the db structure that you released initially
you will want to start with a current dump (no data)

You can diff these two files to find any differences.

You may also want to have a look at pgdiff and apgdiff - both are
located at sourceforge.



--

Shane Ambler
pgSQL@Sheeky.Biz

Get Sheeky @ http://Sheeky.Biz

pgsql-novice by date:

Previous
From: Alex du Plessis
Date:
Subject: Database version control
Next
From: Emil Oppeln-Bronikowski
Date:
Subject: Re: Database version control