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

Commitbc8e9a6

Browse files
committed
pg_stat_statements: Fix second comment related to entry resets
This should have been part ofdc73db6, but it got lost in the mix.Oversight in6b4d23f.Author: Japin LiDiscussion:https://postgr.es/m/MEYP282MB1669FC91C764E277821936D3B624A@MEYP282MB1669.AUSP282.PROD.OUTLOOK.COMBackpatch-through: 14
1 parentdc73db6 commitbc8e9a6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎contrib/pg_stat_statements/pg_stat_statements.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2546,7 +2546,9 @@ entry_reset(Oid userid, Oid dbid, uint64 queryid)
25462546
key.dbid=dbid;
25472547
key.queryid=queryid;
25482548

2549-
/* Remove the key if it exists, starting with the top-level entry */
2549+
/*
2550+
* Remove the key if it exists, starting with the non-top-level entry.
2551+
*/
25502552
key.toplevel= false;
25512553
entry= (pgssEntry*)hash_search(pgss_hash,&key,HASH_REMOVE,NULL);
25522554
if (entry)/* found */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp