mirror of
https://github.com/postgres/postgres.git
synced 2025-07-07 00:36:50 +03:00
Fix cosmetic blemishes involving rd_createSubid.
Remove an obsolete comment from AtEOXact_cleanup(). Restore formatting
of a comment in struct RelationData, mangled by the pgindent run in
commit 9af4159fce
. Back-patch to 9.5 (all
supported versions), because another fix stacks on this.
This commit is contained in:
5
src/backend/utils/cache/relcache.c
vendored
5
src/backend/utils/cache/relcache.c
vendored
@ -3031,10 +3031,7 @@ AtEOXact_cleanup(Relation relation, bool isCommit)
|
||||
*
|
||||
* During commit, reset the flag to zero, since we are now out of the
|
||||
* creating transaction. During abort, simply delete the relcache entry
|
||||
* --- it isn't interesting any longer. (NOTE: if we have forgotten the
|
||||
* new-ness of a new relation due to a forced cache flush, the entry will
|
||||
* get deleted anyway by shared-cache-inval processing of the aborted
|
||||
* pg_class insertion.)
|
||||
* --- it isn't interesting any longer.
|
||||
*/
|
||||
if (relation->rd_createSubid != InvalidSubTransactionId)
|
||||
{
|
||||
|
Reference in New Issue
Block a user