mirror of
https://github.com/percona/pg_stat_monitor.git
synced 2026-02-04 05:56:21 +00:00
Issue - (#50): Assertion Failure when pg_stat_statment and pg_stat_monitor used together.
Jira: PG-140
This commit is contained in:
@@ -206,9 +206,6 @@ pgss_post_parse_analyze(ParseState *pstate, Query *query)
|
|||||||
if (prev_post_parse_analyze_hook)
|
if (prev_post_parse_analyze_hook)
|
||||||
prev_post_parse_analyze_hook(pstate, query);
|
prev_post_parse_analyze_hook(pstate, query);
|
||||||
|
|
||||||
/* Assert we didn't do this already */
|
|
||||||
Assert(query->queryId == UINT64CONST(0));
|
|
||||||
|
|
||||||
/* Safety check... */
|
/* Safety check... */
|
||||||
if (!IsHashInitialize())
|
if (!IsHashInitialize())
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user