pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-committers@postgresql.org
Subject: pgsql: Replace LookupFuncNameTypeNames() with LookupFuncWithArgs()
Date: Mon, 06 Mar 2017 18:34:49 +0000
Message-ID: <E1ckxT7-0007Yz-KJ@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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(-)


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


Message-ID: <E1ckxT7-0007Yz-KJ@gemulon.postgresql.org>
Permalink:  ../E1ckxT7-0007Yz-KJ@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ckxT7-0007Yz-KJ@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter_e@gmx.net
  Subject: Re: pgsql: Replace LookupFuncNameTypeNames() with LookupFuncWithArgs()
  In-Reply-To: <E1ckxT7-0007Yz-KJ@gemulon.postgresql.org>
  References: <E1ckxT7-0007Yz-KJ@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox