Re: PQprepare case sensitive? - Mailing list pgsql-interfaces

From Michael Meskes
Subject Re: PQprepare case sensitive?
Date
Msg-id 20070608203606.GB24332@feivel.credativ.de
Whole thread Raw
In response to Re: PQprepare case sensitive?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-interfaces
On Fri, Jun 08, 2007 at 11:05:28AM -0400, Tom Lane wrote:
> Well, the point is that downcasing and quote-stripping are things that
> happen in the context of parsing names within SQL statements.  We don't
> do that for other names that are sent by themselves in the protocol,
> such as user and database names in the startup message.  So I would not
> expect it to happen for statement names either.

Valid point. However, I had the statement name in a variable and used it
for prepare and deallocate. It just happened that it had upper case
letters and things didn't work. :-)

Anyway, I fix my code.

Michael
-- 
Michael Meskes
Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!


pgsql-interfaces by date:

Previous
From: Tom Lane
Date:
Subject: Re: PQprepare case sensitive?
Next
From: Michael Meskes
Date:
Subject: execute immediate