agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
pgsql: auto_explain: Add new GUC, auto_explain.log_extension_options.
2+ messages / 2 participants
[nested] [flat]

* pgsql: auto_explain: Add new GUC, auto_explain.log_extension_options.
@ 2026-04-06 19:30 Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Robert Haas @ 2026-04-06 19:30 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

auto_explain: Add new GUC, auto_explain.log_extension_options.

The associated value should look like something that could be
part of an EXPLAIN options list, but restricted to EXPLAIN options
added by extensions.

For example, if pg_overexplain is loaded, you could set
auto_explain.log_extension_options = 'DEBUG, RANGE_TABLE'.
You can also specify arguments to these options in the same manner
as normal e.g. 'DEBUG 1, RANGE_TABLE false'.

Reviewed-by: Matheus Alcantara <matheusssilv97@gmail.com>
Reviewed-by: Lukas Fittl <lukas@fittl.com>
Discussion: http://postgr.es/m/CA+Tgmob-0W8306mvrJX5Urtqt1AAasu8pi4yLrZ1XfwZU-Uj1w@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e972dff6c30447ebcfa2f8601b67f926247463b6

Modified Files
--------------
contrib/auto_explain/Makefile                      |   3 +-
contrib/auto_explain/auto_explain.c                | 387 +++++++++++++++++++++
.../auto_explain/expected/extension_options.out    |  49 +++
contrib/auto_explain/meson.build                   |   1 +
contrib/auto_explain/sql/extension_options.sql     |  33 ++
contrib/auto_explain/t/001_auto_explain.pl         |  18 +-
doc/src/sgml/auto-explain.sgml                     |  23 ++
src/tools/pgindent/typedefs.list                   |   2 +
8 files changed, 514 insertions(+), 2 deletions(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: auto_explain: Add new GUC auto_explain.log_io
@ 2026-04-07 20:50 Tomas Vondra <tomas.vondra@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Tomas Vondra @ 2026-04-07 20:50 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

auto_explain: Add new GUC auto_explain.log_io

Allows enabling the new EXPLAIN "IO" option for auto_explain.

Author: Tomas Vondra <tomas@vondra.me>
Reviewed-by: Melanie Plageman <melanieplageman@gmail.com>
Reviewed-by: Lukas Fittl <lukas@fittl.com>
Discussion: https://postgr.es/m/flat/a177a6dd-240b-455a-8f25-aca0b1c08c6e%40vondra.me

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/61c36a34a4196bfe1ce80b376e5979020bc571b2

Modified Files
--------------
contrib/auto_explain/auto_explain.c | 15 +++++++++++++++
doc/src/sgml/auto-explain.sgml      | 20 ++++++++++++++++++++
2 files changed, 35 insertions(+)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2026-04-07 20:50 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-04-06 19:30 pgsql: auto_explain: Add new GUC, auto_explain.log_extension_options. Robert Haas <rhaas@postgresql.org>
2026-04-07 20:50 pgsql: auto_explain: Add new GUC auto_explain.log_io Tomas Vondra <tomas.vondra@postgresql.org>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox