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

Commit78a3c9b

Browse files
committed
pg_stat_statements forgot to let previous occupant of hook get control too.
pgss_post_parse_analyze() neglected to pass the call on to any earlieroccupant of the post_parse_analyze_hook. There are no other users of thathook in contrib/, and most likely none in the wild either, so this isprobably just a latent bug. But it's a bug nonetheless, so back-patchto 9.2 where this code was introduced.
1 parent602b27a commit78a3c9b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎contrib/pg_stat_statements/pg_stat_statements.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -767,6 +767,9 @@ pgss_post_parse_analyze(ParseState *pstate, Query *query)
767767
{
768768
pgssJumbleStatejstate;
769769

770+
if (prev_post_parse_analyze_hook)
771+
prev_post_parse_analyze_hook(pstate,query);
772+
770773
/* Assert we didn't do this already */
771774
Assert(query->queryId==0);
772775

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp