>>>>> "Tom" == Tom Lane <t...@sss.pgh.pa.us> writes:

 Tom> Regardless of that, though ... what is the reasoning for
 Tom> inventing pg_get_aggregate_arguments() rather than just making
 Tom> pg_get_function_arguments() do the right thing?

pg_get_function_arguments()'s interface assumes that the caller is
providing the enclosing parens. Changing it would have meant returning
a result like 'float8) WITHIN GROUP (float8' which I reckoned would
have too much chance of breaking existing callers.

-- 
Andrew (irc:RhodiumToad)


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to