Re: Unicode string literals versus the world

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: Unicode string literals versus the world
Дата
Msg-id 4136ffa0904151057h27b6e3a2jc1c124d5f5b43098@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Unicode string literals versus the world  (Greg Stark <stark@enterprisedb.com>)
Список pgsql-hackers
On Wed, Apr 15, 2009 at 6:52 PM, Greg Stark <stark@enterprisedb.com> wrote:
> On Wed, Apr 15, 2009 at 6:23 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>>> Wouldn't we just then say that U&'' strings are always standard-
>>> conforming?
>>
>> That's exactly what's causing the problem --- they are, but there
>> is lots of software that won't know it.
>
>
> We could say U&'' escapes only work if you have
> standards_conforming_strings set to true.

Or say that if you have standards_conforming_strings false then any
string which contains a literal \ or ' is an error. You shouldn't ever
really need either since you could use the unicode escape for either
after all.



-- 
greg


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: New trigger option of pg_standby
Следующее
От: Marko Kreen
Дата:
Сообщение: Re: Unicode string literals versus the world