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

From Nathan Bossart
Subject Re: Generate pg_stat_get_* functions with Macros
Date
Msg-id 20221203201617.GA2647873@nathanxps13
Whole thread Raw
In response to Re: Generate pg_stat_get_* functions with Macros  ("Drouvot, Bertrand" <bertranddrouvot.pg@gmail.com>)
Responses Re: Generate pg_stat_get_* functions with Macros
List pgsql-hackers
On Sat, Dec 03, 2022 at 10:31:19AM +0100, Drouvot, Bertrand wrote:
> On 12/3/22 1:51 AM, Nathan Bossart wrote:
>> Can we hard-code the prefix in the macro?  It looks like all of these use
>> the same one.
> 
> Good point! Done in V2 attached.

Thanks.  I editorialized a bit in the attached v3.  I'm not sure that my
proposed names for the macros are actually an improvement.  WDYT?

-- 
Nathan Bossart
Amazon Web Services: https://aws.amazon.com

Attachment

pgsql-hackers by date:

Previous
From: Ankit Kumar Pandey
Date:
Subject: Re: Questions regarding distinct operation implementation
Next
From: David Rowley
Date:
Subject: Re: Questions regarding distinct operation implementation