diff --git a/src/backend/utils/adt/txid.c b/src/backend/utils/adt/txid.c
index 2907306e9284ec2eb52cc16d286979f012dbb2a2..192ae6640d08529243ee6b6780421bfbb0681464 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)