diff options
author | Bruce Momjian <bruce@momjian.us> | 2006-10-03 21:11:55 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2006-10-03 21:11:55 +0000 |
commit | 5441a6416449fc0525e62ca38938285664ae6015 (patch) | |
tree | 12f4a3d2d5858cd894457f388d22a9e76addd2f2 /src/backend/commands/functioncmds.c | |
parent | e15ce612b567db05dc345f8fa40e3477f13149df (diff) | |
download | postgresql-5441a6416449fc0525e62ca38938285664ae6015.tar.gz postgresql-5441a6416449fc0525e62ca38938285664ae6015.zip |
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
Diffstat (limited to 'src/backend/commands/functioncmds.c')
0 files changed, 0 insertions, 0 deletions