Re: PQprepare case sensitive?

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: PQprepare case sensitive?
Дата
Msg-id 20070608203606.GB24332@feivel.credativ.de
обсуждение исходный текст
Ответ на Re: PQprepare case sensitive?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: PQprepare case sensitive?
Следующее
От: Michael Meskes
Дата:
Сообщение: execute immediate