Populating array of composite datatype

Поиск
Список
Период
Сортировка
От Sameer Thakur
Тема Populating array of composite datatype
Дата
Msg-id CABzZFEsyJTghjqkuXGKs904qGt6cSkWhE_cHvrWhZMFLeH2M8Q@mail.gmail.com
обсуждение исходный текст
Ответы Re: Populating array of composite datatype  (Raghavendra <raghavendra.rao@enterprisedb.com>)
Re: Populating array of composite datatype  (David Johnston <polobo@yahoo.com>)
Список pgsql-general
Hello,
I have a composite datatype abc which has two integer fields x,y.
I have a table Test which has an array of abc.
I am trying to populate Test. Tried 
insert into test values (ARRAY[abc(1,2)]); but got error 
ERROR:  function abc(integer, integer) does not exist

Is there anyway for doing this?

regards
Sameer

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

Предыдущее
От: Chris Travers
Дата:
Сообщение: Re: Hierarchical numeric data type
Следующее
От: BladeOfLight16
Дата:
Сообщение: Re: Staging Database