Re: Unicode string literals versus the world

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Unicode string literals versus the world
Дата
Msg-id 200904142130.41730.peter_e@gmx.net
обсуждение исходный текст
Ответ на Re: Unicode string literals versus the world  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Tuesday 14 April 2009 20:35:21 Robert Haas wrote:
> Maybe I've just got my head deeply in the sand, but I don't understand
> what the alternative to E'' supposedly is.  How am I supposed to write
> the equivalent of E'\t\n\f' without using E''?

Well, the first alternative is to type those characters in literally.  The 
second alternative is the U&'' syntax. ;-)  The third alternative is to design 
applications that don't need this, because the processing behavior of those 
characters is quite unportable.  But of course in some cases using the E'' 
syntax is the most convenient.



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

Предыдущее
От: Andreas Pflug
Дата:
Сообщение: Warm Standby restore_command documentation (was: New trigger option of pg_standby)
Следующее
От: "David E. Wheeler"
Дата:
Сообщение: Re: Unicode string literals versus the world