Reason why set-value functions not allowed in GREATEST(), etc? - Mailing list pgsql-hackers

From Hitoshi Harada
Subject Reason why set-value functions not allowed in GREATEST(), etc?
Date
Msg-id e08cc0401002220925t3d93001cq429e00e8fcaf58b8@mail.gmail.com
Whole thread Raw
Responses Re: Reason why set-value functions not allowed in GREATEST(), etc?
Re: Reason why set-value functions not allowed in GREATEST(), etc?
List pgsql-hackers
I just wonder why generate_series() is not allowed in GREATEST syntax.
Looking through execQual.c,  almost all syntactic evaluations like
COALESCE, ARRAY[], ROW() doesn't allow set-value functions. Could
someone tell the underlying reason?

Also, using variadic functions introduced since 8.4, I hope we can
remove the special syntax cases for them by replacing them with normal
variadic functions. Is it sane idea?

Regards,

-- 
Hitoshi Harada


pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Recent vendor SSL renegotiation patches break PostgreSQL
Next
From: Tom Lane
Date:
Subject: Re: Recent vendor SSL renegotiation patches break PostgreSQL