Remove nonmeaningful prefixes in PgStat_* fields

From: "Drouvot, Bertrand" <bertranddrouvot(dot)pg(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Remove nonmeaningful prefixes in PgStat_* fields
Date: 2023-01-12 09:47:11
Message-ID: 9142f62a-a422-145c-bde0-b5bc498a4ada@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi hackers,

Please find attached a patch to $SUBJECT.

It is a preliminary patch for [1].

The main ideas are: 1) to have consistent naming between the pg_stat_get*() functions
and their associated counters and 2) to define the new macros in [1] the same way as it
has been done in 8018ffbf58 (aka not using the prefixes in the macros).

Looking forward to your feedback,

Regards,

--
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com

[1]: https://www.postgresql.org/message-id/flat/89606d96-cd94-af74-18f3-c7ab2b684ba2(at)gmail(dot)com

Attachment Content-Type Size
v1-0001-remove_nonmeaningful_prefixes.patch text/plain 24.6 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Matthias van de Meent 2023-01-12 09:48:56 Re: Named Operators
Previous Message Bharath Rupireddy 2023-01-12 09:32:25 Re: Lazy allocation of pages required for verifying FPI consistency