]> granicus.if.org Git - postgresql/commit
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)
commit037709e0b3da1f7ac3d794c60216365cf3e23de1
treec8abf9ebec33a29847d6ed66d0108a487a41d586
parent8aec77fb9fbbe78bfb72b6003f9b54d3cadeccd1
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