Re: array constructor can't construct empty array

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: array constructor can't construct empty array
Дата
Msg-id Pine.LNX.4.44.0309011937320.13205-100000@kix.fsv.cvut.cz
обсуждение исходный текст
Ответ на Re: array constructor can't construct empty array  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: array constructor can't construct empty array  (jconway <mail@joeconway.com>)
Re: array constructor can't construct empty array  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Lee Kindness
Дата:
Сообщение: Re: Unixware Patch (Was: Re: Beta2 Tag'd and Bundled ...)
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: thread safety