Re: array constructor can't construct empty array

From: Pavel Stehule <stehule(at)kix(dot)fsv(dot)cvut(dot)cz>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: array constructor can't construct empty array
Date: 2003-09-01 17:39:06
Message-ID: Pine.LNX.4.44.0309011937320.13205-100000@kix.fsv.cvut.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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, compiled by GCC gcc (GCC) 3.2.2
(1 řádka)

>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruno Wolff III 2003-09-01 19:18:28 Re: thread safety
Previous Message Lee Kindness 2003-09-01 17:26:17 Re: Unixware Patch (Was: Re: Beta2 Tag'd and Bundled ...)