Received: from localhost (unknown [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 65D2B2E00F5 for ; Wed, 12 Dec 2007 02:07:29 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 55525-04 for ; Wed, 12 Dec 2007 02:07:24 -0400 (AST) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id A467D2E00F4 for ; Wed, 12 Dec 2007 02:07:25 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id lBC67OlY012797; Wed, 12 Dec 2007 01:07:24 -0500 (EST) To: Ken Johanson cc: pgsql-general@postgresql.org Subject: Re: RETURNING clause: how to specifiy column indexes? In-reply-to: <475F7766.2040005@kensystem.com> References: <22a9f7570703301215y44a937d0r5faa706bad7948c@mail.gmail.com> <4610AA0C.30608@ejurka.com> <47579D44.6060005@kensystem.com> <47579FBE.1070503@kensystem.com> <475F7766.2040005@kensystem.com> Comments: In-reply-to Ken Johanson message dated "Tue, 11 Dec 2007 22:53:42 -0700" Date: Wed, 12 Dec 2007 01:07:24 -0500 Message-ID: <12796.1197439644@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200712/701 X-Sequence-Number: 125444 Ken Johanson writes: > While the values of an API that specifies the table's columns by > ordinaility may seem dubious, it is an API that I think should be > implemented anyway. Every few weeks we get a complaint from someone who thinks that it should be easy to rearrange the logical order of table columns. If that comes to pass, it would be a seriously bad idea to have encouraged applications to rely on table column numbers. And given the number of votes for that (probably in the hundreds by now) versus the number of votes for this idea (one), I think column reordering is much more likely to get done ... regards, tom lane