pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Meskes <meskes@postgresql.org>
Cc: PostgreSQL Interfaces <pgsql-interfaces@postgresql.org>
Subject: Re: PQprepare case sensitive?
Date: Fri, 08 Jun 2007 09:56:42 -0400
Message-ID: <22692.1181311002@sss.pgh.pa.us> (raw)
In-Reply-To: <20070608123351.GA30271@feivel.credativ.de>
References: <20070608123351.GA30271@feivel.credativ.de>

Michael Meskes <meskes@postgresql.org> 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



view thread (5+ messages)  latest in thread

Message-ID: <22692.1181311002@sss.pgh.pa.us>
Permalink:  ../22692.1181311002@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/22692.1181311002@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, meskes@postgresql.org
  Subject: Re: PQprepare case sensitive?
  In-Reply-To: <22692.1181311002@sss.pgh.pa.us>

* 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