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

Commite886124

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 parenta757e16 commite886124

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
@@ -2552,7 +2552,9 @@ entry_reset(Oid userid, Oid dbid, uint64 queryid)
25522552
key.dbid=dbid;
25532553
key.queryid=queryid;
25542554

2555-
/* Remove the key if it exists, starting with the top-level entry */
2555+
/*
2556+
* Remove the key if it exists, starting with the non-top-level entry.
2557+
*/
25562558
key.toplevel= false;
25572559
entry= (pgssEntry*)hash_search(pgss_hash,&key,HASH_REMOVE,NULL);
25582560
if (entry)/* found */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp