Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id D99B39FB698 for ; Tue, 27 Feb 2007 08:49:05 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-new, port 10024) with ESMTP id 76425-02 for ; Tue, 27 Feb 2007 08:48:55 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by postgresql.org (Postfix) with ESMTP id 7F7289FB347 for ; Tue, 27 Feb 2007 08:48:59 -0400 (AST) Received: by ug-out-1314.google.com with SMTP id k3so940464ugf for ; Tue, 27 Feb 2007 04:48:58 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=MA7MebX28fHdcwr2WSV4CbhxBnhSPV9mh/oeiblBjmMv2QZeDOdvBwV+8XsgY+QdAXFqjVMitgXkkK4epurSaBiYtoud4VFSZWE5p/RVYnpmdUgZKk26HWnhhUl+/2Mr3otYvXUZe2tg/sgPd1zLKejKota4zxSk4IFa0P+bVcc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=PJ59mQZQTieJHU30xRFU3n+ZFlCTfG9f4oRQJBOGRPkMfjxKPmUT01MUSqaJNtM+ucFH4yirwejak9s9boEbwkdpEJhCeR9xc2zeHX4wSnIyGQ3tQQ+fAvxrPx8AEFTjxfSbb4jsFvqBdtFyFx3+cK5DYHhPbgzb9hO6hPAY6TE= Received: by 10.67.106.3 with SMTP id i3mr7910578ugm.1172580537147; Tue, 27 Feb 2007 04:48:57 -0800 (PST) Received: by 10.67.94.13 with HTTP; Tue, 27 Feb 2007 04:48:57 -0800 (PST) Message-ID: <55c095e90702270448p604c906flc5203315f4acdb48@mail.gmail.com> Date: Tue, 27 Feb 2007 09:48:57 -0300 From: "Ezequias Rodrigues da Rocha" To: "A. Kretschmer" Subject: Re: Position of a field Cc: pgsql-sql@postgresql.org In-Reply-To: <20070227121737.GD14945@a-kretschmer.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <55c095e90702270351j7ee26c13o1a13f2a6c6b48eaf@mail.gmail.com> <20070227121737.GD14945@a-kretschmer.de> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200702/279 X-Sequence-Number: 27613 I understant you inquiry but I don't meant to add all the fields order in an insert statement. IE: insert into table values (value1, value2, value3....) is better than insert into table (column1,column2,column3 ...) values (value1, value2, value3....) If there is only one way (recreating) that was not good for me. Regards Ezequias 2007/2/27, A. Kretschmer : > am Tue, dem 27.02.2007, um 8:51:27 -0300 mailte Ezequias Rodrigues da R= ocha folgendes: > > Hi list, > > > > I just would like to know if it is possible to change the position of > > a field in a table. I am seen in pgAdmin3 that there is a position but > > on th is application I can't see if there is a place to do that. > > Why do you want to do this? You can define the order of the fields in > the SELECT-Statement. Other way: you can create a VIEW. And another way: > you can recreate the table (create new_table as select order> from old_table, drop old_table, rename new_tabel to old_table) > > > Andreas > -- > Andreas Kretschmer > Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header) > GnuPG-ID: 0x3FFF606C, privat 0x7F4584DA http://wwwkeys.de.pgp.net > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Have you searched our list archives? > > http://archives.postgresql.org > --=20 =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-= =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D Atenciosamente (Sincerely) Ezequias Rodrigues da Rocha =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-= =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- A pior das democracias ainda =E9 melhor do que a melhor das ditaduras The worst of democracies is still better than the better of dictatorships http://ezequiasrocha.blogspot.com/