Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id C29189FB923 for ; Tue, 31 Jul 2007 02:56:16 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 63439-08 for ; Tue, 31 Jul 2007 02:56:13 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from mtai04.charter.net (mtai04.charter.net [209.225.8.184]) by postgresql.org (Postfix) with ESMTP id A15579FB9F1 for ; Tue, 31 Jul 2007 02:56:13 -0300 (ADT) Received: from aa04.charter.net ([10.20.200.156]) by mtai04.charter.net (InterMail vM.7.08.02.00 201-2186-121-20061213) with ESMTP id <20070731055612.TMOV1443.mtai04.charter.net@aa04.charter.net>; Tue, 31 Jul 2007 01:56:12 -0400 Received: from [10.0.1.3] (really [66.188.165.91]) by aa04.charter.net with ESMTP id <20070731055612.SDGE1254.aa04.charter.net@[10.0.1.3]>; Tue, 31 Jul 2007 01:56:12 -0400 In-Reply-To: <1185859391.28634.17.camel@localhost> References: <1185855587.28634.6.camel@localhost> <7F69A56D-27E8-43EE-BD1C-AB52C042B533@seespotcode.net> <1185859391.28634.17.camel@localhost> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <3345E320-08CF-465E-93AC-DAFBD59AA35C@seespotcode.net> Cc: pgsql-general@postgresql.org Content-Transfer-Encoding: 7bit From: Michael Glaesemann Subject: Re: [NOVICE] alter table table add column Date: Tue, 31 Jul 2007 00:56:11 -0500 To: Ronald Rojas X-Mailer: Apple Mail (2.752.2) X-Chzlrs: 0 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200707/1191 X-Sequence-Number: 117792 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