Re: array constructor can't construct empty array - Mailing list pgsql-hackers

From Tom Lane
Subject Re: array constructor can't construct empty array
Date
Msg-id 11617.1062450919@sss.pgh.pa.us
Whole thread Raw
In response to Re: array constructor can't construct empty array  (Pavel Stehule <stehule@kix.fsv.cvut.cz>)
List pgsql-hackers
Pavel Stehule <stehule@kix.fsv.cvut.cz> writes:
> Array and array's functions works fine, but I need call this function 
> with empty array. I can't use array constructor for empty array.

Yeah.  We have not figured out how to assign a type to "ARRAY[]".
You can do something like '{}'::integer[], however.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Unixware Patch (Was: Re: Beta2 Tag'd and Bundled ...)
Next
From: Greg Stark
Date:
Subject: Re: Unixware Patch (Was: Re: Beta2 Tag'd and Bundled ...)