X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 8D8E9D1B4FE; Sun, 5 Oct 2003 17:44:04 +0000 (GMT) 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 77807-07; Sun, 5 Oct 2003 14:43:18 -0300 (ADT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.188]) by svr1.postgresql.org (Postfix) with ESMTP id 8CC0ED1B53C; Sun, 5 Oct 2003 14:43:17 -0300 (ADT) Received: from [212.227.126.161] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1A6CuZ-0004vi-00; Sun, 05 Oct 2003 19:43:15 +0200 Received: from [80.129.138.89] (helo=pse-consulting.de) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1A6CuZ-0004W4-00; Sun, 05 Oct 2003 19:43:15 +0200 Message-ID: <3F80583E.3030606@pse-consulting.de> Date: Sun, 05 Oct 2003 19:43:26 +0200 From: Andreas Pflug User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tom Lane Cc: Peter Eisentraut , PostgreSQL Development , pgsql-interfaces@postgresql.org Subject: Re: [HACKERS] PQfnumber and quoted identifiers References: <3F803498.8080400@pse-consulting.de> <1258.1065373207@sss.pgh.pa.us> In-Reply-To: <1258.1065373207@sss.pgh.pa.us> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/16 X-Sequence-Number: 4505 Tom Lane wrote: >That was pretty much the argument that carried the day in the earlier >thread. However, I'm not sure how many people really use PQfnumber >(as opposed to hard-wiring assumptions about returned column numbers), >and it would seem that the intersection of those people with people who >use mixed-case column names may be nearly the empty set. If a lot of >people did this, the behavior would have been discussed and documented >(or changed) long ago. So I'm not convinced that we'd really break >very many apps by changing to the behavior that everyone seems to agree >is more sensible. > > ... >So other than the shortlived 6.2 release, releases before 6.5 had the >behavior Peter wants. I find it interesting that it took more than a >year for anyone to notice that the putative dequoting+downcasing logic >installed for 6.3 didn't work. > pgAdmin3 beta testers found it... If you change it, please give me a chance to code it version-aware so quoting/non-quoting can be performed dependent on libpq in use. Regards, Andreas