Re: _bt_delitems_delete() should use XLogRegisterBufData(), not XLogRegisterData()

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: _bt_delitems_delete() should use XLogRegisterBufData(), not XLogRegisterData()
Date: 2020-01-02 21:41:25
Message-ID: CAH2-Wznr4tjtfbyoqT4xYQ6FOsnsbcjo7F4w4xbB7-OxJS+=-g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Jan 1, 2020 at 1:00 PM Peter Geoghegan <pg(at)bowt(dot)ie> wrote:
> Attached patch shows what I have in mind. The new comment block has
> been copied from _bt_delitems_vacuum().

I also think that the WAL record and function signature of
_bt_delitems_delete() should be brought closer to
_bt_delitems_vacuum(). Attached patch does it that way.

I intend to commit this in the next day or two, barring any objections.

--
Peter Geoghegan

Attachment Content-Type Size
v2-0001-Associate-LP_DEAD-offsets-with-WAL-record-s-buffe.patch application/octet-stream 7.1 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message cary huang 2020-01-02 21:46:44 Re: Setting min/max TLS protocol in clientside libpq
Previous Message Tom Lane 2020-01-02 21:07:57 Re: Recognizing superuser in pg_hba.conf