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

Commit0539593

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 parent98876f0 commit0539593

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
@@ -614,6 +614,9 @@ pgss_post_parse_analyze(ParseState *pstate, Query *query)
614614
{
615615
pgssJumbleStatejstate;
616616

617+
if (prev_post_parse_analyze_hook)
618+
prev_post_parse_analyze_hook(pstate,query);
619+
617620
/* Assert we didn't do this already */
618621
Assert(query->queryId==0);
619622

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp