guc units cleanup

Поиск
Список
Период
Сортировка
От ITAGAKI Takahiro
Тема guc units cleanup
Дата
Msg-id 20060926123348.527A.ITAGAKI.TAKAHIRO@oss.ntt.co.jp
обсуждение исходный текст
Ответы Re: guc units cleanup  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-patches
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.

Regards,
---
ITAGAKI Takahiro
NTT Open Source Software Center


Вложения

В списке pgsql-patches по дате отправления:

Предыдущее
От: Robert Treat
Дата:
Сообщение: minor editorial of tsearch2 readme
Следующее
От: Jeremy Drake
Дата:
Сообщение: Re: [HACKERS] large object regression tests