Re: array of domain types - Mailing list pgsql-hackers

From Thom Brown
Subject Re: array of domain types
Date
Msg-id CAA-aLv76Z6KYM+F3o1OTvLjCSubRpbd16iNM_HJUs==fZm_FQQ@mail.gmail.com
Whole thread Raw
In response to array of domain types  (Konstantin Knizhnik <k.knizhnik@postgrespro.ru>)
Responses Re: array of domain types  (konstantin knizhnik <k.knizhnik@postgrespro.ru>)
List pgsql-hackers
On 1 June 2016 at 14:20, Konstantin Knizhnik <k.knizhnik@postgrespro.ru> wrote:
I wonder why domain types can not be used for specification of array element:

create domain objref as bigint;
create table foo(x objref[]);
ERROR:  type "objref[]" does not exist
create table foo(x bigint[]);
CREATE TABLE

Is there some principle problem here or it is just not implemented?

It's not implemented, but patches welcome.
 
Thom

pgsql-hackers by date:

Previous
From: Konstantin Knizhnik
Date:
Subject: array of domain types
Next
From: Michael Meskes
Date:
Subject: Re: Question and suggestion about application binary compatibility policy