mirror of
https://github.com/percona/pg_stat_monitor.git
synced 2026-02-04 14:06:20 +00:00
PG-210: Columns names should match upstream pg_stat_statements column names.
This commit is contained in:
@@ -1779,7 +1779,7 @@ pg_stat_monitor_internal(FunctionCallInfo fcinfo,
|
||||
if (enc != query_txt)
|
||||
pfree(enc);
|
||||
/* plan at column number 7 */
|
||||
if (planid && tmp.planinfo.plan_text)
|
||||
if (planid && strlen(tmp.planinfo.plan_text) > 0)
|
||||
values[i++] = CStringGetTextDatum(tmp.planinfo.plan_text);
|
||||
else
|
||||
nulls[i++] = true;
|
||||
|
||||
Reference in New Issue
Block a user