summaryrefslogtreecommitdiffstats
path: root/commands.c
diff options
context:
space:
mode:
authorMark Wong <mark@2ndQuadrant.com>2019-08-03 09:03:16 -0700
committerMark Wong <mark@2ndQuadrant.com>2019-08-03 09:14:13 -0700
commitfb6c7cabebed1d0f87f83a743692d3818c391a5f (patch)
tree9808c47a9f8f90f39596dce691460ca9452c64ee /commands.c
parenta70ffd886f9c7365ee25b0a08ef8f0d4bd75289b (diff)
Add VERBOSE, BUFFERS options to EXPLAIN ANALYZE
Diffstat (limited to 'commands.c')
-rw-r--r--commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands.c b/commands.c
index 5a7b01d..15de5ac 100644
--- a/commands.c
+++ b/commands.c
@@ -674,7 +674,7 @@ show_explain(struct pg_conninfo_ctx *conninfo, int procpid, int analyze)
/* Execute the EXPLAIN. */
if (analyze == EXPLAIN_ANALYZE)
{
- sprintf(sql, "EXPLAIN ANALYZE\n%s",
+ sprintf(sql, "EXPLAIN (ANALYZE, VERBOSE, BUFFERS)\n%s",
PQgetvalue(pgresult_query, i, 0));
}
else