git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 5b3dca0) | patch
Use PG_GETARG_TRANSACTIONID where appropriate
Mon, 2 Nov 2020 15:48:22 +0000 (16:48 +0100)
Mon, 2 Nov 2020 15:48:22 +0000 (16:48 +0100)
commit dd26a0ad760b11237d7ea9cda8ccccc1826c2c64
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.fujitsu.local
src/backend/access/transam/commit_ts.c diff | blob | blame | history
src/backend/access/transam/multixact.c diff | blob | blame | history
src/backend/utils/adt/xid.c diff | blob | blame | history
src/include/fmgr.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /