Re: Comments on Custom RMGRs

From: Jeff Davis <pgsql(at)j-davis(dot)com>
To: Danil Anisimow <anisimow(dot)d(at)gmail(dot)com>
Cc: Andres Freund <andres(at)anarazel(dot)de>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Robert Haas <robertmhaas(at)gmail(dot)com>
Subject: Re: Comments on Custom RMGRs
Date: 2024-03-29 17:09:38
Message-ID: 22e756affaad88b77a52d67cb532ed2a544f2e36.camel@j-davis.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, 2024-03-29 at 18:20 +0700, Danil Anisimow wrote:
>
> In [rmgr_003.v3.patch] I added a phase argument to RmgrCheckpoint().
> Currently it is only called in two places: before and after
> CheckPointBuffers().

I am fine with this.

You've moved the discussion forward in two ways:

1. Changes to pg_stat_statements to actually use the API; and
2. The hook is called at multiple points.

Those at least partially address the concerns raised by Andres and
Robert. But given that there was pushback from multiple people on the
feature, I'd like to hear from at least one of them. It's very late in
the cycle so I'm not sure we'll get more feedback in time, though.

Regards,
Jeff Davis

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amonson, Paul D 2024-03-29 17:11:18 RE: Popcount optimization using AVX512
Previous Message Euler Taveira 2024-03-29 16:50:33 Re: [HACKERS] make async slave to wait for lsn to be replayed