Re: auto-sizing wal_buffers

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: auto-sizing wal_buffers
Дата
Msg-id 806.1295750546@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: auto-sizing wal_buffers  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: auto-sizing wal_buffers  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
>> Oh, you're complaining about SetConfigOption, not the assign hooks.

> I was actually complaining about the latter, and then switched gears
> to the former.  I'm an equal-opportunity complainer today, I guess...

It does strike me that we could provide SetConfigOptionInt,
SetConfigOptionBool, and SetConfigOptionReal for the benefit of callers
who'd prefer to pass values in those formats.  They'd still do sprintf
internally, but this would make the call sites a bit cleaner.

In a quick tally, though, I see only a couple of potential callers for
SetConfigOptionInt, perhaps a dozen for SetConfigOptionBool, and none at
all for SetConfigOptionReal.  Hence not sure it's worth the trouble.
        regards, tom lane


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Bug in pg_describe_object, patch v2
Следующее
От: "XiaoboGu"
Дата:
Сообщение: postgresql-9.0.2-1-windows_x64 from EnterpriseDB can't install on Win 7 home basic 64 bit