Re: array constructor can't construct empty array

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: array constructor can't construct empty array
Дата
Msg-id 200309011658.h81GweI17255@candle.pha.pa.us
обсуждение исходный текст
Ответ на array constructor can't construct empty array  (Pavel Stehule <stehule@kix.fsv.cvut.cz>)
Ответы Re: array constructor can't construct empty array  (Pavel Stehule <stehule@kix.fsv.cvut.cz>)
Список 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 по дате отправления:

Предыдущее
От: "Mendola Gaetano"
Дата:
Сообщение: Re: SetVariable
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: SetVariable