array constructor can't construct empty array

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

What is coorect style?

Thank You 
Pavel Stehule







В списке pgsql-hackers по дате отправления:

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: Preliminary notes about hash index concurrency (long)
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: massive quotes?