Skip to content

Commit afc9635

Browse files
committed
Add C comment that txid_current() assigns an XID if one is not already
assigned.
1 parent 3315020 commit afc9635

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/backend/utils/adt/txid.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,8 @@ parse_snapshot(const char *str)
321321
/*
322322
* txid_current() returns int8
323323
*
324-
* Return the current toplevel transaction ID as TXID
324+
* Return the current toplevel transaction ID as TXID
325+
* If the current transaction does not have one, one is assigned.
325326
*/
326327
Datum
327328
txid_current(PG_FUNCTION_ARGS)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy