Updates/Changes to a database

From: imageguy <imageguy1206(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Updates/Changes to a database
Date: 2007-07-12 17:07:36
Message-ID: 1184260056.493761.30640@g4g2000hsf.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 ?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2007-07-12 17:16:50 Re: Panic error on attempted update
Previous Message Joshua D. Drake 2007-07-12 17:03:16 Re: Big table with UNION ALL or partitioning with Tsearch2