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

From Ronald Rojas
Subject Re: [NOVICE] alter table table add column
Date
Msg-id 1185859391.28634.17.camel@localhost
Whole thread Raw
In response to Re: [NOVICE] alter table table add column  (Michael Glaesemann <grzm@seespotcode.net>)
Responses Re: [NOVICE] alter table table add column
List pgsql-general
Hi,

Sorry for doing the multiple mailing list recipient. 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.

Anyway, thanks for your input, really appreciate it.


On Mon, 2007-07-30 at 23:32 -0500, Michael Glaesemann wrote:
[Please don't post the same question to many lists. Choose one. If  
you're unsure if it's the correct list for your question, ask if  
there's a more appropriate one. This question is find for -novice or - 
general. Thanks.]

On Jul 30, 2007, at 23:19 , Ronald Rojas wrote:

> And, I want to add the field name age with type integer after  
> lastname OR before the address field. How to I do that?

Can't without dumping the database, altering the schema in the dump,  
and reloading. But why does it matter? Just call the columns in the  
order you want.

Michael Glaesemann
grzm seespotcode net



==================================================================================================
Ronald Rojas
Systems Administrator
Linux Registered  User #427229
==================================================================================================

Arnold's Laws of Documentation:(1) If it should exist, it doesn't.(2) If it does exist, it's out of date.(3) Only documentation for useless programs transcends the    first two laws.


pgsql-general by date:

Previous
From: Tony Caduto
Date:
Subject: Re: The leanest, meanest Windows installer possible
Next
From: Michael Glaesemann
Date:
Subject: Re: [NOVICE] alter table table add column