X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id C63C3D1BA51 for ; Wed, 20 Aug 2003 12:06:43 -0300 (ADT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 85147-06 for ; Wed, 20 Aug 2003 12:06:33 -0300 (ADT) Received: from mailhub.mail.Virginia.EDU (mail.Virginia.EDU [128.143.2.9]) by svr1.postgresql.org (Postfix) with ESMTP id BFCB2D1B8F1 for ; Wed, 20 Aug 2003 12:06:32 -0300 (ADT) Received: from smtp.mail.Virginia.EDU (smtp.mail.Virginia.EDU [128.143.22.52]) by mailhub.mail.Virginia.EDU (Postfix) with ESMTP id DE1A992A6D; Wed, 20 Aug 2003 11:06:31 -0400 (EDT) Received: from virginia.edu (d-137-133-128.bootp.Virginia.EDU [137.54.133.128]) by smtp.mail.Virginia.EDU (8.11.7/8.11.6) with ESMTP id h7KF6Ul19548; Wed, 20 Aug 2003 11:06:30 -0400 Message-ID: <3F4390C2.6050106@virginia.edu> Date: Wed, 20 Aug 2003 11:16:18 -0400 From: Jodi Kanter User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011128 Netscape6/6.2.1 X-Accept-Language: en-us MIME-Version: 1.0 To: Bruno Wolff III Cc: Gaetano Mendola , pgsql-admin@postgresql.org Subject: Re: changing field length References: <3F426DB0.1040607@virginia.edu> <000d01c36685$78b2c090$10d4a8c0@mm.eutelsat.org> <3F4382C6.3030101@virginia.edu> <20030820142639.GA10047@wolff.to> <3F438A64.8030206@virginia.edu> <20030820145847.GB11204@wolff.to> Content-Type: multipart/alternative; boundary="------------060907030700050903020807" X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/220 X-Sequence-Number: 9941 --------------060907030700050903020807 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Ok. so for now I want to return to where I started. so I renamed the table and regenerated my original table with the fields in the order that I like. I cannot just do a insert into table select * from other_table; because the fields are in a different order. Can I do this by listing the fields in my insert in the order in which I want them placed? Thanks Jodi Bruno Wolff III wrote: >On Wed, Aug 20, 2003 at 10:49:08 -0400, > Jodi Kanter wrote: > >>can I now make this field not null? >> >>is it possible to move a field up in a table? now that I have done this >> > >Currently, not without recreating the table. There was some discussion >about that a few months ago, but nothing is happening in 7.4 on that >front. Maybe in 7.5 there will be a way to change the column order, >but don't count on it. > >---------------------------(end of broadcast)--------------------------- >TIP 6: Have you searched our list archives? > > http://archives.postgresql.org > -- _______________________________ Jodi L Kanter BioInformatics Database Administrator University of Virginia (434) 924-2846 jkanter@virginia.edu --------------060907030700050903020807 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Ok. so for now I want to return to where I started. so I renamed the table and regenerated my original table with the fields in the order that I like. I cannot just do a
insert into table select * from other_table;
because the fields are in a different order.
Can I do this by listing the fields in my insert in the order in which I want them placed?
Thanks
Jodi

Bruno Wolff III wrote:
On Wed, Aug 20, 2003 at 10:49:08 -0400,
Jodi Kanter <jkanter@virginia.edu> wrote:
can I now make this field not null?

is it possible to move a field up in a table? now that I have done this

Currently, not without recreating the table. There was some discussion
about that a few months ago, but nothing is happening in 7.4 on that
front. Maybe in 7.5 there will be a way to change the column order,
but don't count on it.

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

--
________________________________

_______________________________
Jodi L Kanter
BioInformatics Database Administrator
University of Virginia
(434) 924-2846
jkanter@virginia.edu


 

 

 


--------------060907030700050903020807--