| От | 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
Re: info about patch: using parametrised query in psql |
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера