pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: tableam: Rename wrapper functions to match callback names.
Date: Thu, 23 May 2019 23:37:42 +0000
Message-ID: <E1hTxHK-0004bt-5I@gemulon.postgresql.org> (raw)

tableam: Rename wrapper functions to match callback names.

Some of the wrapper functions didn't match the callback names. Many of
them due to staying "consistent" with historic naming of the wrapped
functionality. We decided that for most cases it's more important to
be for tableam to be consistent going forward, than with the past.

The one exception is beginscan/endscan/...  because it'd have looked
odd to have systable_beginscan/endscan/... with a different naming
scheme, and changing the systable_* APIs would have caused way too
much churn (including breaking a lot of external users).

Author: Ashwin Agrawal, with some small additions by Andres Freund
Reviewed-By: Andres Freund
Discussion: https://postgr.es/m/CALfoeiugyrXZfX7n0ORCa4L-m834dzmaE8eFdbNR6PMpetU4Ww@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/73b8c3bd2889fed986044e15aefd0911f96ccdd3

Modified Files
--------------
src/backend/access/heap/heapam.c       | 16 +++----
src/backend/access/table/tableam.c     | 48 +++++++++----------
src/backend/commands/copy.c            | 24 +++++-----
src/backend/commands/createas.c        | 14 +++---
src/backend/commands/matview.c         | 14 +++---
src/backend/commands/tablecmds.c       |  9 ++--
src/backend/commands/trigger.c         | 17 ++++---
src/backend/executor/execMain.c        |  8 ++--
src/backend/executor/execReplication.c | 16 +++----
src/backend/executor/nodeLockRows.c    |  8 ++--
src/backend/executor/nodeModifyTable.c | 80 ++++++++++++++++----------------
src/backend/executor/nodeTidscan.c     |  4 +-
src/backend/utils/adt/tid.c            |  4 +-
src/include/access/tableam.h           | 85 +++++++++++++++++-----------------
14 files changed, 178 insertions(+), 169 deletions(-)



Message-ID: <E1hTxHK-0004bt-5I@gemulon.postgresql.org>
Permalink:  ../E1hTxHK-0004bt-5I@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1hTxHK-0004bt-5I@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: andres@anarazel.de
  Subject: Re: pgsql: tableam: Rename wrapper functions to match callback names.
  In-Reply-To: <E1hTxHK-0004bt-5I@gemulon.postgresql.org>
  References: <E1hTxHK-0004bt-5I@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