Re: BufmgrCommit no-op since 2008, remaining uses? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: BufmgrCommit no-op since 2008, remaining uses?
Date
Msg-id 3805003.1680091925@sss.pgh.pa.us
Whole thread Raw
In response to BufmgrCommit no-op since 2008, remaining uses?  (Matthias van de Meent <boekewurm+postgres@gmail.com>)
Responses Re: BufmgrCommit no-op since 2008, remaining uses?
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCH] Allow Postgres to pick an unused port to listen
Next
From: Dave Cramer
Date:
Subject: Re: Request for comment on setting binary format output per session