Updates/Changes to a database - Mailing list pgsql-general

From imageguy
Subject Updates/Changes to a database
Date
Msg-id 1184260056.493761.30640@g4g2000hsf.googlegroups.com
Whole thread Raw
Responses Re: Updates/Changes to a database
Re: Updates/Changes to a database
Re: Updates/Changes to a database
List pgsql-general
I am building an application with Postrges as the backend foundation.
This is my first application and it has struck me that as we add
features/functionality to the application and database with each new
version, we will need some method of obtaining the current structure
of the customers database and then modifying/updating the structure so
that it matches the application revision standard.

Are there pre-existing tools out there that does this sort of thing ??

My present direction is to create a small SQLite db that has there
expected structure, compare each table against the SQL
"information_Schema.columns" and the create a series of SQL commands
to be executed that would add columns and/or table as needed.

-- any thoughts or comments ?


pgsql-general by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: Big table with UNION ALL or partitioning with Tsearch2
Next
From: Tom Lane
Date:
Subject: Re: Panic error on attempted update