On Mon, Oct 16, 2023 at 7:31 PM Jeff Davis <pgsql(at)j-davis(dot)com> wrote:
> Another option might be to just change the hash indexing code to follow
> the correct protocol, locking and calling MarkBufferDirty() in those 3
> call sites. Marking the buffer dirty is easy, but making sure that it's
> locked might require some refactoring. Robert, would following the
> right protocol here affect performance?
Sorry, I'm not sure I understand the question. Are you asking whether
dirtying buffers unnecessarily might be slower than not doing that?
--
Robert Haas
EDB: http://www.enterprisedb.com