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

From Pavel Stehule
Subject Re: array constructor can't construct empty array
Date
Msg-id Pine.LNX.4.44.0309011937320.13205-100000@kix.fsv.cvut.cz
Whole thread Raw
In response to Re: array constructor can't construct empty array  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: array constructor can't construct empty array
Re: array constructor can't construct empty array
List pgsql-hackers
On Mon, 1 Sep 2003, Bruce Momjian wrote:

> 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?
> 
I am sorry, yes, of course :->,
testdb=> SELECT version();                                 version
---------------------------------------------------------------------------PostgreSQL 7.4beta1 on i586-pc-linux-gnu,
compiledby GCC gcc (GCC) 3.2.2
 
(1 řádka)


> 



pgsql-hackers by date:

Previous
From: Lee Kindness
Date:
Subject: Re: Unixware Patch (Was: Re: Beta2 Tag'd and Bundled ...)
Next
From: Bruno Wolff III
Date:
Subject: Re: thread safety