Re: confused by int2vector typdelim

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: confused by int2vector typdelim
Дата
Msg-id 1125496.1684937398@sss.pgh.pa.us
обсуждение исходный текст
Ответ на confused by int2vector typdelim  (jian he <jian.universality@gmail.com>)
Список pgsql-general
jian he <jian.universality@gmail.com> writes:
> should I expect the typdelim be a white space? Since '1 2'::int2vector
> works, '1,2'::int2vector does not work.

typdelim applies to the type's associated array type, that is
int2vector[].

regression=# select '{1 2,3 4 5}'::int2vector[];
   int2vector    
-----------------
 {"1 2","3 4 5"}
(1 row)

            regards, tom lane



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

Предыдущее
От: jian he
Дата:
Сообщение: confused by int2vector typdelim
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: 15 pg_upgrade with -j