Re: sql standard: \' or ''

Поиск
Список
Период
Сортировка
От Gregory Wood
Тема Re: sql standard: \' or ''
Дата
Msg-id 40996654.6030207@ewebengine.com
обсуждение исходный текст
Ответ на sql standard: \' or ''  (CSN <cool_screen_name90001@yahoo.com>)
Список pgsql-general
CSN wrote:
> I heard that the sql standard for escaping quotes is
> '', and not \'. Is this true?
>
> BTW, PHP's pg_escape_string returns \' and not ''.

Are you sure about that?

~# php -r "print pg_escape_string(\"I can't believe that quotes are
escaped improperly\n\");"
I can''t believe that quotes are escaped improperly

Greg

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

Предыдущее
От: snpe
Дата:
Сообщение: Re: help me
Следующее
От: Jim Crate
Дата:
Сообщение: Error linking libpq into client program