Re: configure option for XLOG_BLCKSZ
| От | Tom Lane |
|---|---|
| Тема | Re: configure option for XLOG_BLCKSZ |
| Дата | |
| Msg-id | 21230.1209758248@sss.pgh.pa.us обсуждение |
| Ответ на | configure option for XLOG_BLCKSZ ("Mark Wong" <markwkm@gmail.com>) |
| Список | pgsql-patches |
"Mark Wong" <markwkm@gmail.com> writes:
> I saw a that a patch was committed that exposed a configure switch for
> BLCKSZ. I was hoping that I could do that same for XLOG_BLCKSZ. I
> think I got the configure.in, sgml, pg_config_manual.h, and
> pg_config.h.in changes correct.
Applied with minor changes:
* I thought it better to call the switch --with-wal-blocksize than
--with-xlog-blocksize. Although we've not been terribly consistent
about it, there is more user-facing documentation that calls it WAL
than XLOG.
* I added a --with-wal-segsize switch as well.
It's not totally clear what the allowed ranges of the settings should
be. The method of using a shell "case" to verify the setting validity
is kinda klugy, but I couldn't offhand think of a direct test for
"is this a power of 2" at the shell level, so it seems we need to be
restrictive.
regards, tom lane
В списке pgsql-patches по дате отправления: