Re: Add pg_stat_recovery system view

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Xuneng Zhou <xunengzhou(at)gmail(dot)com>
Cc: yangyz <1197620467(at)qq(dot)com>, pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Add pg_stat_recovery system view
Date: 2026-03-06 06:30:17
Message-ID: aap0eVlpkpEWEtxO@paquier.xyz
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Mar 06, 2026 at 02:21:49PM +0800, Xuneng Zhou wrote:
> For a single-row function with ~8–10 columns, saving one palloc is a
> micro-optimization, not a major performance issue. I am not that sure of
> the benefit it brings, still preparing a small patch to turn the palloc
> into a fixed stack array.

Yes, I don't see a point in changing anything here.
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Chao Li 2026-03-06 06:32:01 Re: Add pg_stat_recovery system view
Previous Message Xuneng Zhou 2026-03-06 06:21:49 Re: Add pg_stat_recovery system view