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 11:05:28 -0400
Message-ID: <25652.1181315128@sss.pgh.pa.us> (raw)
In-Reply-To: <20070608145830.GB18853@feivel.credativ.de>
References: <20070608123351.GA30271@feivel.credativ.de>
<22692.1181311002@sss.pgh.pa.us>
<20070608145830.GB18853@feivel.credativ.de>
Michael Meskes <meskes@postgresql.org> writes:
> On Fri, Jun 08, 2007 at 09:56:42AM -0400, Tom Lane wrote:
>> Yes, it's assumed that any quoting/dequoting has already happened by the
>> time the name gets into the protocol message.
> But shouldn't this be documented? I failed to find it. But then this
> wouldn't be the first time I fail to find the right place in
> documentation.
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.
regards, tom lane
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: <25652.1181315128@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