Re: case sensitivity in PQExecPrepared
От
Peter Eisentraut
Тема
Re: case sensitivity in PQExecPrepared
Дата
Msg-id
200407162300.05493.peter_e@gmx.net
Ответ на
Re: case sensitivity in PQExecPrepared (Merlin Moncure)
Список
Дерево обсуждения
Re: case sensitivity in PQExecPrepared "Merlin Moncure" <merlin.moncure@rcsonline.com>
Re: case sensitivity in PQExecPrepared Peter Eisentraut <peter_e@gmx.net>
Merlin Moncure wrote: > Well, yes :) Just to be absolutely clear what I mean, the following > will fail (pseudocode, but you get the idea): > > char stmt[] = "prepare X as select 0()"; > PQexec(c, "execute X"); <-- works > PQexecPrepared(c, "X" [...]); <-- fails > > You are saying this is the correct and expected behavior? Yes, because part of those syntax rules is that in SQL, unquoted identifiers are folded to lower case, but in C they are not. -- Peter Eisentraut http://developer.postgresql.org/~petere/
В списке pgsql-hackers по дате отправления