diff options
author | Bruce Momjian <bruce@momjian.us> | 2011-07-11 20:32:29 -0400 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2011-07-11 20:33:07 -0400 |
commit | afc9635c600ace716294a12d78abd37f65abd0ea (patch) | |
tree | 62c2ade914799d1fc75d07db4d60f1f06635c4a6 | |
parent | 3315020a091f64c8d08c3b32a2abd46431dcf857 (diff) | |
download | postgresql-afc9635c600ace716294a12d78abd37f65abd0ea.tar.gz postgresql-afc9635c600ace716294a12d78abd37f65abd0ea.zip |
Add C comment that txid_current() assigns an XID if one is not already
assigned.
-rw-r--r-- | src/backend/utils/adt/txid.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/utils/adt/txid.c b/src/backend/utils/adt/txid.c index 2907306e928..192ae6640d0 100644 --- a/src/backend/utils/adt/txid.c +++ b/src/backend/utils/adt/txid.c @@ -321,7 +321,8 @@ bad_format: /* * txid_current() returns int8 * - * Return the current toplevel transaction ID as TXID + * Return the current toplevel transaction ID as TXID + * If the current transaction does not have one, one is assigned. */ Datum txid_current(PG_FUNCTION_ARGS) |