postgresql/src/bin
Tom Lane 3c05284d83 Invent GENERIC_PLAN option for EXPLAIN.
This provides a very simple way to see the generic plan for a
parameterized query.  Without this, it's necessary to define
a prepared statement and temporarily change plan_cache_mode,
which is a bit tedious.

One thing that's a bit of a hack perhaps is that we disable
execution-time partition pruning when the GENERIC_PLAN option
is given.  That's because the pruning code may attempt to
fetch the value of one of the parameters, which would fail.

Laurenz Albe, reviewed by Julien Rouhaud, Christoph Berg,
Michel Pelletier, Jim Jones, and myself

Discussion: https://postgr.es/m/0a29b954b10b57f0d135fe12aa0909bd41883eb0.camel@cybertec.at
2023-03-24 17:07:22 -04:00
..
initdb meson: add install-{quiet, world} targets 2023-03-23 21:20:18 -07:00
pg_amcheck meson: add install-{quiet, world} targets 2023-03-23 21:20:18 -07:00
pg_archivecleanup meson: add install-{quiet, world} targets 2023-03-23 21:20:18 -07:00
pg_basebackup meson: add install-{quiet, world} targets 2023-03-23 21:20:18 -07:00
pg_checksums meson: add install-{quiet, world} targets 2023-03-23 21:20:18 -07:00
pg_config meson: add install-{quiet, world} targets 2023-03-23 21:20:18 -07:00
pg_controldata meson: add install-{quiet, world} targets 2023-03-23 21:20:18 -07:00
pg_ctl meson: add install-{quiet, world} targets 2023-03-23 21:20:18 -07:00
pg_dump meson: add install-{quiet, world} targets 2023-03-23 21:20:18 -07:00
pg_resetwal meson: add install-{quiet, world} targets 2023-03-23 21:20:18 -07:00
pg_rewind meson: add install-{quiet, world} targets 2023-03-23 21:20:18 -07:00
pg_test_fsync meson: add install-{quiet, world} targets 2023-03-23 21:20:18 -07:00
pg_test_timing meson: add install-{quiet, world} targets 2023-03-23 21:20:18 -07:00
pg_upgrade meson: add install-{quiet, world} targets 2023-03-23 21:20:18 -07:00
pg_verifybackup meson: add install-{quiet, world} targets 2023-03-23 21:20:18 -07:00
pg_waldump meson: add install-{quiet, world} targets 2023-03-23 21:20:18 -07:00
pgbench pgbench: Prepare commands in pipelines in advance 2023-02-21 10:56:37 +01:00
pgevent Update copyright for 2023 2023-01-02 15:00:37 -05:00
psql Invent GENERIC_PLAN option for EXPLAIN. 2023-03-24 17:07:22 -04:00
scripts meson: add install-{quiet, world} targets 2023-03-23 21:20:18 -07:00
Makefile Update copyright for 2023 2023-01-02 15:00:37 -05:00
meson.build Update copyright for 2023 2023-01-02 15:00:37 -05:00