Merge pull request #141 from darkfronza/PG-234_fix_load_of_pgsm_and_pgss
PG-234: Fix loading both pg_stat_monitor and pg_stat_statements.pull/142/head
commit
a1e9526b51
|
@ -1046,6 +1046,7 @@ static void pgss_ProcessUtility(PlannedStmt *pstmt, const char *queryString,
|
||||||
context, params, queryEnv,
|
context, params, queryEnv,
|
||||||
dest,
|
dest,
|
||||||
qc);
|
qc);
|
||||||
|
else
|
||||||
standard_ProcessUtility(pstmt, queryString,
|
standard_ProcessUtility(pstmt, queryString,
|
||||||
readOnlyTree,
|
readOnlyTree,
|
||||||
context, params, queryEnv,
|
context, params, queryEnv,
|
||||||
|
@ -1057,6 +1058,7 @@ static void pgss_ProcessUtility(PlannedStmt *pstmt, const char *queryString,
|
||||||
context, params, queryEnv,
|
context, params, queryEnv,
|
||||||
dest,
|
dest,
|
||||||
qc);
|
qc);
|
||||||
|
else
|
||||||
standard_ProcessUtility(pstmt, queryString,
|
standard_ProcessUtility(pstmt, queryString,
|
||||||
context, params, queryEnv,
|
context, params, queryEnv,
|
||||||
dest,
|
dest,
|
||||||
|
@ -1067,6 +1069,7 @@ static void pgss_ProcessUtility(PlannedStmt *pstmt, const char *queryString,
|
||||||
context, params, queryEnv,
|
context, params, queryEnv,
|
||||||
dest,
|
dest,
|
||||||
completionTag);
|
completionTag);
|
||||||
|
else
|
||||||
standard_ProcessUtility(pstmt, queryString,
|
standard_ProcessUtility(pstmt, queryString,
|
||||||
context, params, queryEnv,
|
context, params, queryEnv,
|
||||||
dest,
|
dest,
|
||||||
|
|
Loading…
Reference in New Issue