Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit481c76a

Browse files
committed
Fix a typo, and remove unnecessary pgstat_report_wait_end().
Per Amit Kapila.
1 parent38c83c9 commit481c76a

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)

[8]ページ先頭

©2009-2025 Movatter.jp