Re: Generate pg_stat_get_* functions with Macros

Поиск
Список
Период
Сортировка
От Bharath Rupireddy
Тема Re: Generate pg_stat_get_* functions with Macros
Дата
Msg-id CALj2ACVCO6jt1=OAffL2nxYKwa52Yu3Z-vdjcqJnoGabokvFYw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Generate pg_stat_get_* functions with Macros  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: Generate pg_stat_get_* functions with Macros  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On Tue, Dec 6, 2022 at 8:15 AM Michael Paquier <michael@paquier.xyz> wrote:
>
> On Mon, Dec 05, 2022 at 05:16:56PM +0900, Michael Paquier wrote:
> > Doing that in a separate patch is fine by me.
>
> I have applied the patch for the tab entries, then could not resist
> poking at the parts for the db entries.  This leads to more reduction
> than the other one actually, as of:
>  4 files changed, 169 insertions(+), 447 deletions(-)
>
> Like the previous one, the functions have the same names and the field
> names are updated to fit in the picture.  Thoughts?

Likewise, is there a plan to add function generation macros for
pg_stat_get_bgwriter, pg_stat_get_xact and so on?

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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: move some bitmapset.c macros to bitmapset.h
Следующее
От: Kyotaro Horiguchi
Дата:
Сообщение: Re: Add LSN along with offset to error messages reported for WAL file read/write/validate header failures