diff options
author | Robert Haas <rhaas@postgresql.org> | 2009-12-15 04:57:48 +0000 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2009-12-15 04:57:48 +0000 |
commit | cddca5ec13d27017281422124cae0480cddfb663 (patch) | |
tree | 08d7d89e25d95ec3989cb8e929b84abff3249b0f /src/include/commands/explain.h | |
parent | 6f1bf75d50a576a326c1529180982622981855f5 (diff) |
Add an EXPLAIN (BUFFERS) option to show buffer-usage statistics.
This patch also removes buffer-usage statistics from the track_counts
output, since this (or the global server statistics) is deemed to be a better
interface to this information.
Itagaki Takahiro, reviewed by Euler Taveira de Oliveira.
Diffstat (limited to 'src/include/commands/explain.h')
-rw-r--r-- | src/include/commands/explain.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/commands/explain.h b/src/include/commands/explain.h index 75b5ed3d3c7..d0b4c15e2c4 100644 --- a/src/include/commands/explain.h +++ b/src/include/commands/explain.h @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group * Portions Copyright (c) 1994-5, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/commands/explain.h,v 1.43 2009/12/12 00:35:34 rhaas Exp $ + * $PostgreSQL: pgsql/src/include/commands/explain.h,v 1.44 2009/12/15 04:57:47 rhaas Exp $ * *------------------------------------------------------------------------- */ @@ -30,6 +30,7 @@ typedef struct ExplainState bool verbose; /* be verbose */ bool analyze; /* print actual times */ bool costs; /* print costs */ + bool buffers; /* print buffer usage */ ExplainFormat format; /* output format */ /* other states */ PlannedStmt *pstmt; /* top of plan */ |