pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Meskes <meskes@postgresql.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Michael Meskes <meskes@postgresql.org>
Cc: PostgreSQL Interfaces <pgsql-interfaces@postgresql.org>
Subject: Re: PQprepare case sensitive?
Date: Fri, 8 Jun 2007 22:36:06 +0200
Message-ID: <20070608203606.GB24332@feivel.credativ.de> (raw)
In-Reply-To: <25652.1181315128@sss.pgh.pa.us>
References: <20070608123351.GA30271@feivel.credativ.de>
	<22692.1181311002@sss.pgh.pa.us>
	<20070608145830.GB18853@feivel.credativ.de>
	<25652.1181315128@sss.pgh.pa.us>

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!



view thread (5+ messages)

Message-ID: <20070608203606.GB24332@feivel.credativ.de>
Permalink:  ../20070608203606.GB24332@feivel.credativ.de/
Also on:    postgresql.org/message-id/20070608203606.GB24332@feivel.credativ.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: meskes@postgresql.org, tgl@sss.pgh.pa.us
  Subject: Re: PQprepare case sensitive?
  In-Reply-To: <20070608203606.GB24332@feivel.credativ.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox