[COMMITTERS] pgsql: Replace LookupFuncNameTypeNames() with LookupFuncWithArgs()
От | Peter Eisentraut |
---|---|
Тема | [COMMITTERS] pgsql: Replace LookupFuncNameTypeNames() with LookupFuncWithArgs() |
Дата | |
Msg-id | E1ckxT7-0007Yz-KJ@gemulon.postgresql.org обсуждение исходный текст |
Список | pgsql-committers |
Replace LookupFuncNameTypeNames() with LookupFuncWithArgs() The old function took function name and function argument list as separate arguments. Now that all function signatures are passed around as ObjectWithArgs structs, this is no longer necessary and can be replaced by a function that takes ObjectWithArgs directly. Similarly for aggregates and operators. Reviewed-by: Jim Nasby <Jim.Nasby@BlueTreble.com> Reviewed-by: Michael Paquier <michael.paquier@gmail.com> Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/2ca64c6f7105f97ce886bdbbd880f50225bf24ba Modified Files -------------- src/backend/catalog/aclchk.c | 3 +-- src/backend/catalog/objectaddress.c | 40 +++++++++++-------------------------- src/backend/commands/functioncmds.c | 12 ++++------- src/backend/commands/opclasscmds.c | 30 +++++++--------------------- src/backend/commands/operatorcmds.c | 5 +---- src/backend/nodes/copyfuncs.c | 2 -- src/backend/nodes/equalfuncs.c | 2 -- src/backend/parser/gram.y | 18 ++++++++--------- src/backend/parser/parse_func.c | 32 ++++++++++++++--------------- src/backend/parser/parse_oper.c | 24 ++++++++++++---------- src/include/nodes/parsenodes.h | 7 ++----- src/include/parser/parse_func.h | 4 ++-- src/include/parser/parse_oper.h | 5 ++--- 13 files changed, 68 insertions(+), 116 deletions(-)
В списке pgsql-committers по дате отправления: