Re: PQprepare case sensitive?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PQprepare case sensitive?
Дата
Msg-id 22692.1181311002@sss.pgh.pa.us
обсуждение исходный текст
Ответ на PQprepare case sensitive?  (Michael Meskes <meskes@postgresql.org>)
Ответы Re: PQprepare case sensitive?  (Michael Meskes <meskes@postgresql.org>)
Список pgsql-interfaces
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


В списке pgsql-interfaces по дате отправления:

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