mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-22 22:37:01 +08: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:
@ -3185,9 +3185,10 @@ GetNextTempTableSpace(void)
|
||||
/*
|
||||
* AtEOSubXact_Files
|
||||
*
|
||||
* Take care of subtransaction commit/abort. At abort, we close temp files
|
||||
* that the subtransaction may have opened. At commit, we reassign the
|
||||
* files that were opened to the parent subtransaction.
|
||||
* Take care of subtransaction commit/abort. At abort, we close AllocateDescs
|
||||
* that the subtransaction may have opened. At commit, we reassign them to
|
||||
* the parent subtransaction. (Temporary files are tracked by ResourceOwners
|
||||
* instead.)
|
||||
*/
|
||||
void
|
||||
AtEOSubXact_Files(bool isCommit, SubTransactionId mySubid,
|
||||
|
||||
Reference in New Issue
Block a user