Re: [NOVICE] alter table table add column - Mailing list pgsql-general

From Michael Glaesemann
Subject Re: [NOVICE] alter table table add column
Date
Msg-id 3345E320-08CF-465E-93AC-DAFBD59AA35C@seespotcode.net
Whole thread Raw
In response to Re: [NOVICE] alter table table add column  (Ronald Rojas <ronald.rojas@gmail.com>)
Responses Re: [NOVICE] alter table table add column
List pgsql-general
On Jul 31, 2007, at 0:23 , Ronald Rojas wrote:

> Yes I know that procedure but I would like to insert in between
> because I have at third party software that will call the said
> schema and one of its dependencies with the mapping is it should
> have the correct order with what the receiving end will be use for
> the mapping. And in this case, I can't modify the receiving
> structure (third-party) and the tables that I will be using is in
> on production state. So would only mean that I have to schedule a
> very fast maintenance, probably 5 to 10 secs just to re-initialize
> the tables.

Another option would be to use views to change the column order,
which would work for selects. I believe you could create rules for
insert and update as well, if necessary. Perhaps this would be a
solution to your problem.

Michael Glaesemann
grzm seespotcode net



pgsql-general by date:

Previous
From: Ronald Rojas
Date:
Subject: Re: [NOVICE] alter table table add column
Next
From: David Fetter
Date:
Subject: Re: plperl syntax highlighting for vi