1
0
mirror of https://github.com/postgres/postgres.git synced 2025-12-13 14:22:43 +03:00

Fix comment on how temp files and subtransactions are handled

The comment was accurate a long time ago, but not any more. I failed
to update the comment in commit ab3148b712.
This commit is contained in:
Heikki Linnakangas
2025-12-11 15:57:11 +02:00
parent d4b7bde418
commit b65f1ad9b1

View File

@@ -3185,9 +3185,10 @@ GetNextTempTableSpace(void)
/* /*
* AtEOSubXact_Files * AtEOSubXact_Files
* *
* Take care of subtransaction commit/abort. At abort, we close temp files * Take care of subtransaction commit/abort. At abort, we close AllocateDescs
* that the subtransaction may have opened. At commit, we reassign the * that the subtransaction may have opened. At commit, we reassign them to
* files that were opened to the parent subtransaction. * the parent subtransaction. (Temporary files are tracked by ResourceOwners
* instead.)
*/ */
void void
AtEOSubXact_Files(bool isCommit, SubTransactionId mySubid, AtEOSubXact_Files(bool isCommit, SubTransactionId mySubid,