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

Поиск
Список
Период
Сортировка
От Rod Taylor
Тема Re: ARRAY[] with \'s is broken?
Дата
Msg-id 1116351971.696.195.camel@home
обсуждение исходный текст
Ответ на Re: ARRAY[] with \'s is broken?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> > How the heck do you store a single backslash in an text array?
> 
> ... array_out doubles the backslashes again, though.

That explains how I got confused.

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



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

Предыдущее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: Learning curves and such (was Re: pgFoundry)
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: ARRAY[] with \'s is broken?