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

From Bruce Momjian
Subject Re: array constructor can't construct empty array
Date
Msg-id 200309011658.h81GweI17255@candle.pha.pa.us
Whole thread Raw
In response to array constructor can't construct empty array  (Pavel Stehule <stehule@kix.fsv.cvut.cz>)
Responses Re: array constructor can't construct empty array  (Pavel Stehule <stehule@kix.fsv.cvut.cz>)
List pgsql-hackers
Pavel Stehule wrote:
> Hello
> 
> I have function 
> 
> CREATE FUNCTION foo(date, date, INTEGER[]) RETURNS INTEGER 
> 
> 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. When 
> I call function foo with e.a. ,I get syntax error. I can call with '{}'.

Are you running 7.4beta?

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: "Mendola Gaetano"
Date:
Subject: Re: SetVariable
Next
From: Bruce Momjian
Date:
Subject: Re: SetVariable