Re: Escaping of special characters in ARRAYs is broken

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Escaping of special characters in ARRAYs is broken
Дата
Msg-id 5818.1019401962@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Escaping of special characters in ARRAYs is broken  (Gerhard Häring <haering_linux@gmx.de>)
Ответы Re: Escaping of special characters in ARRAYs is broken  (Gerhard Häring <haering_linux@gmx.de>)
Список pgsql-bugs
Gerhard Häring <haering_linux@gmx.de> writes:
> You can see the inconsistency yourself when you try to insert a special
> character like \005 into a varchar array. IMO This should work with inserting
> '{"\\005"}', but this just inserts the three letters 005.

This is not a bug; you didn't use enough backslashes.  See the example
at the bottom of this page:
http://candle.pha.pa.us/main/writings/pgsql/sgml/arrays.html
        regards, tom lane


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

Предыдущее
От: Gerhard Häring
Дата:
Сообщение: Escaping of special characters in ARRAYs is broken
Следующее
От: Michael Loftis
Дата:
Сообщение: Re: PostgreSql Installation