Re: ARRAY[] with \'s is broken?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ARRAY[] with \'s is broken?
Дата
Msg-id 563.1116351323@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: ARRAY[] with \'s is broken?  (Rod Taylor <pg@rbt.ca>)
Ответы Re: ARRAY[] with \'s is broken?  (Rod Taylor <pg@rbt.ca>)
Список pgsql-hackers
Rod Taylor <pg@rbt.ca> writes:
> On Tue, 2005-05-17 at 13:18 -0400, Andrew Dunstan wrote:
>> I don't see anything broken. V 7.4.8 shows the same:

> How the heck do you store a single backslash in an text array?

You just did.  array_out doubles the backslashes again, though.

regression=# select ARRAY['\\a']; array
---------{"\\a"}
(1 row)

regression=# select (ARRAY['\\a'])[1];array
-------\a
(1 row)
        regards, tom lane


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

Предыдущее
От: Brendan Jurd
Дата:
Сообщение: Re: Learning curves and such (was Re: pgFoundry)
Следующее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: Learning curves and such (was Re: pgFoundry)