Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id DCF6D9FB33D for ; Tue, 27 Feb 2007 08:17:51 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 72706-01 for ; Tue, 27 Feb 2007 08:17:39 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by postgresql.org (Postfix) with ESMTP id 0CC549FB365 for ; Tue, 27 Feb 2007 08:17:43 -0400 (AST) Received: from [194.25.154.138] (helo=webserv.wug.de) by mrelayeu.kundenserver.de (node=mrelayeu3) with ESMTP (Nemesis), id 0MKxQS-1HM1H22Y2W-00026S; Tue, 27 Feb 2007 13:17:41 +0100 Received: from kretschmer by webserv.wug.de with local (Exim 3.36 #1) id 1HM1H1-0006c1-00 for pgsql-sql@postgresql.org; Tue, 27 Feb 2007 13:17:39 +0100 Date: Tue, 27 Feb 2007 13:17:39 +0100 From: "A. Kretschmer" To: pgsql-sql@postgresql.org Subject: Re: Position of a field Message-ID: <20070227121737.GD14945@a-kretschmer.de> References: <55c095e90702270351j7ee26c13o1a13f2a6c6b48eaf@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <55c095e90702270351j7ee26c13o1a13f2a6c6b48eaf@mail.gmail.com> X-OS: Debian/GNU Linux - weil ich es mir Wert bin! X-Message-Flag: "Windows" is not the answer. "Windows" is the question and the answer is "no"! User-Agent: Mutt/1.5.9i X-Provags-ID: kundenserver.de abuse@kundenserver.de login:51ea9561fc3f6d9539a2acd743e4748c X-Provags-ID2: V01U2FsdGVkX1/uA04s6kIjd+rKhCpT1y3O4sdWJbUrOTUaOsR wtmdqpUQZTUXOXLFcO2J/r4+TPbGc5qozAcvqbQsvaKoOr1dEM 01QkmOvKybZNwBj6bX2ObElWi2SS2Ts X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.345 tagged_above=0 required=5 tests=AWL, BAYES_50, SPF_HELO_PASS X-Spam-Level: X-Archive-Number: 200702/278 X-Sequence-Number: 27612 am Tue, dem 27.02.2007, um 8:51:27 -0300 mailte Ezequias Rodrigues da Rocha 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 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