Re: info about patch: using parametrised query in psql

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: info about patch: using parametrised query in psql
Дата
Msg-id 7884.1261766466@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: info about patch: using parametrised query in psql  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: info about patch: using parametrised query in psql  (Pavel Stehule <pavel.stehule@gmail.com>)
Re: info about patch: using parametrised query in psql  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Pavel Stehule <pavel.stehule@gmail.com> writes:
> there are two quoting styles, so we need two syntax. I proposed

> :[var] and :{var} - for ident quoting and literal quoting.
> Theoretically we could to use :(var) for bytea escaping.

And if you need a fourth style, you're at a dead end.  I don't think
this is really an improvement over the single-flag-character approach.
Neither one has got any mnemonic value whatever, unfortunately, but
at least the flag character method is fairly extensible.
        regards, tom lane


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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: ORDER BY clause in aggregate doesn't work well with multi argument aggregates
Следующее
От: Tom Lane
Дата:
Сообщение: Re: ORDER BY clause in aggregate doesn't work well with multi argument aggregates