Content-Length: 294385 | pFad | http://github.com/postgrespro/postgres_cluster/commit/e7086339fd79e44c5577debf1b9c8d2a6ffe9395

39 Fix a typo, and remove unnecessary pgstat_report_wait_end(). · postgrespro/postgres_cluster@e708633 · GitHub
Skip to content

Commit e708633

Browse files
robertmhaaskelvich
authored andcommitted
Fix a typo, and remove unnecessary pgstat_report_wait_end().
Per Amit Kapila.
1 parent da870be commit e708633

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

src/backend/access/transam/xact.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4655,9 +4655,6 @@ AbortSubTransaction(void)
46554655
*/
46564656
XactReadOnly = s->prevXactReadOnly;
46574657

4658-
/* Report wait end here, when there is no further possibility of wait */
4659-
pgstat_report_wait_end();
4660-
46614658
RESUME_INTERRUPTS();
46624659
}
46634660

src/backend/storage/lmgr/lwlock.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -760,9 +760,8 @@ GetLWLockIdentifier(uint8 classId, uint16 eventId)
760760

761761
/*
762762
* It is quite possible that user has registered tranche in one of the
763-
* backends (e.g. by allocation lwlocks in dynamic shared memory) but not
764-
* all of them, so we can't assume the tranche is registered here.
765-
* extension for such cases.
763+
* backends (e.g. by allocating lwlocks in dynamic shared memory) but
764+
* not all of them, so we can't assume the tranche is registered here.
766765
*/
767766
if (eventId >= LWLockTranchesAllocated ||
768767
LWLockTrancheArray[eventId]->name == NULL)

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/e7086339fd79e44c5577debf1b9c8d2a6ffe9395

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy