Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 50C879FB6E6; Fri, 8 Jun 2007 10:56:53 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 08429-04; Fri, 8 Jun 2007 10:56:44 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 9C5B29FB6A7; Fri, 8 Jun 2007 10:56:45 -0300 (ADT) 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 l58DugMw022693; Fri, 8 Jun 2007 09:56:42 -0400 (EDT) To: Michael Meskes cc: PostgreSQL Interfaces Subject: Re: PQprepare case sensitive? In-reply-to: <20070608123351.GA30271@feivel.credativ.de> References: <20070608123351.GA30271@feivel.credativ.de> Comments: In-reply-to Michael Meskes message dated "Fri, 08 Jun 2007 14:33:51 +0200" Date: Fri, 08 Jun 2007 09:56:42 -0400 Message-ID: <22692.1181311002@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200706/7 X-Sequence-Number: 6576 Michael Meskes writes: > I haven't looked into the sources yet, but PQprepare's behaviour in my > new ecpglib code suggests that the statement name is case sensitive. Is > this by design? Yes, it's assumed that any quoting/dequoting has already happened by the time the name gets into the protocol message. > I wonder because a statement like this cannot be > deallocated afterwards since the parser is case insensitive with regard > to statement names. Sure it can --- use quotes. regards, tom lane