Content-Length: 257734 | pFad | http://github.com/postgrespro/postgres_cluster/commit/afc9635c600ace716294a12d78abd37f65abd0ea

90 Add C comment that txid_current() assigns an XID if one is not already · postgrespro/postgres_cluster@afc9635 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/afc9635c600ace716294a12d78abd37f65abd0ea

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy