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 16F68D1B4ED; Sun, 5 Oct 2003 17:57:35 +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 78133-08; Sun, 5 Oct 2003 14:56:47 -0300 (ADT) Received: from neuromancer.ctlno.com (unknown [208.13.35.90]) by svr1.postgresql.org (Postfix) with ESMTP id 978D9D1B513; Sun, 5 Oct 2003 14:56:30 -0300 (ADT) Received: from zeutrh9 (ool-4352919e.dyn.optonline.net [67.82.145.158]) by neuromancer.ctlno.com (8.12.9/8.12.9) with ESMTP id h95I0EZ2022070; Sun, 5 Oct 2003 13:00:14 -0500 Subject: Re: [HACKERS] PQfnumber and quoted identifiers From: "Matthew T. O'Connor" To: Andreas Pflug Cc: Tom Lane , Peter Eisentraut , PostgreSQL Development , pgsql-interfaces@postgresql.org In-Reply-To: <3F80583E.3030606@pse-consulting.de> References: <3F803498.8080400@pse-consulting.de> <1258.1065373207@sss.pgh.pa.us> <3F80583E.3030606@pse-consulting.de> Content-Type: text/plain Message-Id: <1065376568.1775.1.camel@newdell> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-2) Date: Sun, 05 Oct 2003 13:56:08 -0400 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/17 X-Sequence-Number: 4506 On Sun, 2003-10-05 at 13:43, Andreas Pflug wrote: > Tom Lane wrote: > >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. Is there a reason why it can't accecpt both formats? That way PQfname and PQfnumber could be inverses of each other. The only wart is that PQfnumber would also accecpt the "\"Bar\"" format also.