postgresql/src/bin/initdb
Bruce Momjian 5441a64164 The attached patch changes units of the some default values in
postgresql.conf.

- shared_buffers = 32000kB => 32MB
- temp_buffers = 8000kB => 8MB
- wal_buffers = 8 => 64kB

The code of initdb was a bit modified to write MB-unit values.
Values greater than 8000kB are rounded out to MB.

GUC_UNIT_XBLOCKS is added for wal_buffers. It is like GUC_UNIT_BLOCKS,
but uses XLOG_BLCKSZ instead of BLCKSZ.

Also, I cleaned up the test of GUC_UNIT_* flags in preparation to
add more unit flags in less bits.

ITAGAKI Takahiro
2006-10-03 21:11:55 +00:00
..
po Remove DOS line endings ("\r\n") from several .po files. DOS line endings 2006-01-01 10:13:56 +00:00
Makefile Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
initdb.c The attached patch changes units of the some default values in 2006-10-03 21:11:55 +00:00
nls.mk New translations 2005-01-09 17:38:19 +00:00