On Mon, Jan 20, 2020 at 8:00 PM rob stone <floriparob(at)gmail(dot)com> wrote:
> max_prepared_transactions = 6 is the value set in postgresql.conf.
>
This has nothing to do with the feature that the pg_prepared_statements
view tracks.
It is for the two-phase commit prepared transactions, not prepared
statements.
https://www.postgresql.org/docs/12/runtime-config-resource.html#GUC-MAX-PREPARED-TRANSACTIONS
David J.