Re: could not find array type for data type character varying[]

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: could not find array type for data type character varying[]
Дата
Msg-id 21332.1256743841@sss.pgh.pa.us
обсуждение исходный текст
Ответ на could not find array type for data type character varying[]  (Viktor Rosenfeld <listuser36@googlemail.com>)
Список pgsql-general
Viktor Rosenfeld <listuser36@googlemail.com> writes:
>   annis=> select array_agg(array['a'::varchar, 'b', 'c']);
>   ERROR:  could not find array type for data type character varying[]

> Why doesn't this work?

The output of array_agg would have to be an array whose elements
are array-of-varchar.  Which is a datatype we don't have.
(2-D array is a different concept...)

            regards, tom lane

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

Предыдущее
От: Viktor Rosenfeld
Дата:
Сообщение: could not find array type for data type character varying[]
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: auto truncate/vacuum full