| От | Kenneth Marshall |
|---|---|
| Тема | Re: quotes etc |
| Дата | |
| Msg-id | 20110222204812.GA9375@aart.is.rice.edu обсуждение |
| Ответ на | quotes etc (John Fabiani <johnf@jfcomputer.com>) |
| Список | pgsql-sql |
On Tue, Feb 22, 2011 at 12:26:41PM -0800, John Fabiani wrote:
> Hi,
> I would have thought that there would be a simple built-in function that would
> escape the quotes as ('D' Andes') to ('D\' Andes'). But I did not see
> anything?
>
> I am I wrong?
>
> Johnf
>
The manual goes over many permutations of the escape process and
what options can be used in each case. I would start there, because
for example, escaping a "'" in SQL uses two "'"s: i.e. 'D' Andes'
becomes 'D'' Andes' I think. Procedural languages and libpq can
offer many other options for escape processing.
Cheers,
Ken
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера