pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Use PG_GETARG_TRANSACTIONID where appropriate
Date: Mon, 02 Nov 2020 15:56:52 +0000
Message-ID: <E1kZcCS-0004Fd-Tq@gemulon.postgresql.org> (raw)

Use PG_GETARG_TRANSACTIONID where appropriate

Some places were using PG_GETARG_UINT32 where PG_GETARG_TRANSACTIONID
would be more appropriate.  (Of course, they are the same internally,
so there is no externally visible effect.)  To do that, export
PG_GETARG_TRANSACTIONID outside of xid.c.  We also export
PG_RETURN_TRANSACTIONID for symmetry, even though there are currently
no external users.

Author: Ashutosh Bapat <ashutosh.bapat@2ndquadrant.com>
Discussion: https://www.postgresql.org/message-id/flat/d8f6bdd536df403b9b33816e9f7e0b9d@G08CNEXMBPEKD05.g08.fuji...

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/dd26a0ad760b11237d7ea9cda8ccccc1826c2c64

Modified Files
--------------
src/backend/access/transam/commit_ts.c | 4 ++--
src/backend/access/transam/multixact.c | 2 +-
src/backend/utils/adt/xid.c            | 3 ---
src/include/fmgr.h                     | 2 ++
4 files changed, 5 insertions(+), 6 deletions(-)



Message-ID: <E1kZcCS-0004Fd-Tq@gemulon.postgresql.org>
Permalink:  ../E1kZcCS-0004Fd-Tq@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1kZcCS-0004Fd-Tq@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@eisentraut.org
  Subject: Re: pgsql: Use PG_GETARG_TRANSACTIONID where appropriate
  In-Reply-To: <E1kZcCS-0004Fd-Tq@gemulon.postgresql.org>
  References: <E1kZcCS-0004Fd-Tq@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