Add generic_plans and custom_plans fields into pg_prepared_statements.

Fujii Masao <fujii@postgresql.org>

Commit: d05b172a760e0ccb3008a2144f96053720000b12
Author: Fujii Masao <fujii@postgresql.org>
Date: 2020-07-20T02:55:50Z
Releases: 14.0
Add generic_plans and custom_plans fields into pg_prepared_statements.

There was no easy way to find how many times generic and custom plans
have been executed for a prepared statement. This commit exposes those
numbers of times in pg_prepared_statements view.

Author: Atsushi Torikoshi, Kyotaro Horiguchi
Reviewed-by: Tatsuro Yamada, Masahiro Ikeda, Fujii Masao
Discussion: https://postgr.es/m/CACZ0uYHZ4M=NZpofH6JuPHeX=__5xcDELF8hT8_2T+R55w4RQw@mail.gmail.com

Files

Documentation touched

Discussion