| От | Peter Eisentraut |
|---|---|
| Тема | Re: Unicode string literals versus the world |
| Дата | |
| Msg-id | 200904142144.51616.peter_e@gmx.net обсуждение исходный текст |
| Ответ на | Re: Unicode string literals versus the world (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: Unicode string literals versus the world
|
| Список | pgsql-hackers |
On Tuesday 14 April 2009 18:54:33 Tom Lane wrote:
> The other proposal that seemed
> attractive to me was a decode-like function:
>
> uescape('foo\00e9bar')
> uescape('foo\00e9bar', '\')
This was discussed previously, but rejected with the following argument:
There are some other disadvantages for making a function call. You
couldn't use that kind of literal in any other place where the parser
calls for a string constant: role names, tablespace locations,
passwords, copy delimiters, enum values, function body, file names.
Some of those appear to be very plausible use cases.
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера