Re: array constructor can't construct empty array

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Pavel Stehule <stehule(at)kix(dot)fsv(dot)cvut(dot)cz>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: array constructor can't construct empty array
Date: 2003-09-01 21:15:19
Message-ID: 11617.1062450919@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Pavel Stehule <stehule(at)kix(dot)fsv(dot)cvut(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Stark 2003-09-01 21:21:10 Re: Unixware Patch (Was: Re: Beta2 Tag'd and Bundled ...)
Previous Message Tom Lane 2003-09-01 21:11:04 Re: Unixware Patch (Was: Re: Beta2 Tag'd and Bundled ...)