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

Commit7e8349c

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 parentaa4b11e commit7e8349c

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
@@ -2518,7 +2518,9 @@ entry_reset(Oid userid, Oid dbid, uint64 queryid)
25182518
key.dbid=dbid;
25192519
key.queryid=queryid;
25202520

2521-
/* Remove the key if it exists, starting with the top-level entry */
2521+
/*
2522+
* Remove the key if it exists, starting with the non-top-level entry.
2523+
*/
25222524
key.toplevel= false;
25232525
entry= (pgssEntry*)hash_search(pgss_hash,&key,HASH_REMOVE,NULL);
25242526
if (entry)/* found */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp