Re: BufmgrCommit no-op since 2008, remaining uses?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BufmgrCommit no-op since 2008, remaining uses?
Дата
Msg-id 3805003.1680091925@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BufmgrCommit no-op since 2008, remaining uses?  (Matthias van de Meent <boekewurm+postgres@gmail.com>)
Ответы Re: BufmgrCommit no-op since 2008, remaining uses?  (Matthias van de Meent <boekewurm+postgres@gmail.com>)
Список pgsql-hackers
Matthias van de Meent <boekewurm+postgres@gmail.com> writes:
> BufmgrCommit does exactly nothing; it is an empty function and has
> been since commit 33960006 in late 2008 when it stopped calling
> smgrcommit().
> All two usages of the function (in our code base) seem to be in
> xact.c. Are we maintaining it for potential future use, or can the
> function be removed?

Seems reasonable.  Even if bufmgr grew a new need to be called
during commit, it would quite possibly need to be called from
a different spot; so I doubt that the function is useful even
as a placeholder.

            regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [PATCH] Allow Postgres to pick an unused port to listen
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: Request for comment on setting binary format output per session