Re: Generate pg_stat_get_* functions with Macros - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Generate pg_stat_get_* functions with Macros
Date
Msg-id Y4720tglAofO68lp@paquier.xyz
Whole thread Raw
In response to Re: Generate pg_stat_get_* functions with Macros  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
Responses Re: Generate pg_stat_get_* functions with Macros  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Tue, Dec 06, 2022 at 12:23:55PM +0530, Bharath Rupireddy wrote:
> Likewise, is there a plan to add function generation macros for
> pg_stat_get_bgwriter, pg_stat_get_xact and so on?

Yes, I saw that and we could do it, but I did not get as much
enthusiastic in terms of code reduction.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Peter Smith
Date:
Subject: Re: Time delayed LR (WAS Re: logical replication restrictions)
Next
From: Peter Smith
Date:
Subject: Re: Perform streaming logical transactions by background workers and parallel apply