aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/backend/utils/adt/txid.c3
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)