Re: auto-sizing wal_buffers

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: auto-sizing wal_buffers
Дата
Msg-id AANLkTimAzopJD5wHu354p47fN3AepoFvCoCG8=RF7-1+@mail.gmail.com
обсуждение исходный текст
Ответ на Re: auto-sizing wal_buffers  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: auto-sizing wal_buffers  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sat, Jan 22, 2011 at 9:42 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> 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.

Why do we need to double the conversion in the first place?

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Bug in pg_describe_object, patch v2
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Bug in pg_describe_object, patch v2