[HACKERS] allow referring to functions without arguments when unique

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема [HACKERS] allow referring to functions without arguments when unique
Дата
Msg-id 932966cd-c089-087c-fa02-3ec83a523b67@2ndquadrant.com
обсуждение исходный текст
Ответы Re: [HACKERS] allow referring to functions without arguments when unique  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-hackers
This is the "grand finale" that goes on top of the "DROP FUNCTION of
multiple functions" patch set.  The purpose is to allow referring to
functions without having to spell out the argument list, when the
function name is unique.  This is especially useful when having to
operate on "business logic" functions with many many arguments.  It's an
SQL standard feature, and it applies everywhere a function is referred
to in the grammar.  We already have the lookup logic for the regproc
type, and thanks to the grand refactoring of the parser representation
of functions, this is quite a small patch.  There is a bit of
reduce/reduce parser mystery, to keep the reviewer entertained.  (The
equivalent could be implemented for aggregates and operators, but I
haven't done that here yet.)

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

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

Вложения

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: [HACKERS] background sessions
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: [HACKERS] port of INSTALL file generation to XSLT