Re: Isn't remote_write a really dumb name for that setting?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Isn't remote_write a really dumb name for that setting?
Дата
Msg-id 18026.1345655712@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Isn't remote_write a really dumb name for that setting?  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> On Wed, Aug 22, 2012 at 01:01:04PM -0400, Tom Lane wrote:
>> AFAICT, the remote_write setting for synchronous_commit is named exactly
>> backwards, because the point of the setting is that it *doesn't* wait
>> for the remote to write anything.
>> 
>> As an alternative I suggest "remote_receive".  Perhaps somebody else
>> has a better idea?

> Yes, I didn't like remote_write either;  see this thread:
>     http://archives.postgresql.org/pgsql-hackers/2012-05/msg00375.php

Oh.  After re-reading that thread (and looking at the code to be sure),
I think the mode name is all right; it's the documentation that is 100%
broken.  The actual meaning of the setting is that we wait for the
remote to write() the data, but not fsync() it.  The description in the
SGML docs has nothing to do with reality.

Will fix the docs.
        regards, tom lane



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Isn't remote_write a really dumb name for that setting?
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Audit Logs WAS: temporal support patch