Reduce default value of max_prepared_transactions from 50 to 5. This
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 29 Aug 2005 21:38:18 +0000 (21:38 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 29 Aug 2005 21:38:18 +0000 (21:38 +0000)
commit2128de0f3290679d373f80f3ad60382394ee0738
tree53cede90acf736806d833dfcb9cb7cc2f9ee9958
parent2fac217442672c9712a5ffba0ca844bfff47a6fd
Reduce default value of max_prepared_transactions from 50 to 5.  This
saves nearly 700kB in the default shared memory segment size, which seems
worthwhile, and it is a feature that many users won't use anyway.  Per
Heikki's argument, there is no point in a compromise value --- those who
are using 2PC at all will probably want it at least equal to max_connections.
But we can't set it to zero by default without breaking the prepared_xacts
regression test.
doc/src/sgml/runtime.sgml
src/backend/access/transam/twophase.c
src/backend/utils/misc/guc.c
src/backend/utils/misc/postgresql.conf.sample