Generate pg_stat_get_xact*() functions for relations using macros
authorMichael Paquier <[email protected]>
Mon, 27 Mar 2023 00:57:41 +0000 (09:57 +0900)
committerMichael Paquier <[email protected]>
Mon, 27 Mar 2023 00:57:41 +0000 (09:57 +0900)
commit850f4b4c8cab03a084ccc89245df061639ad1769
treebf45012c236d3032a5d5b84fc71fe94bc6873a3e
parent6eefe2ce463f55bb3b8da7d561ad2f75053189e0
Generate pg_stat_get_xact*() functions for relations using macros

This change replaces seven functions definitions by macros.

This is the same idea as 8018ffb or 83a1a1b, taking advantage of the
variable rename done in 8089517 for relation entries.

Author: Bertrand Drouvot
Discussion: https://postgr.es/m/631e3084-c5d9-8463-7540-fcff4674caa5@gmail.com
src/backend/utils/adt/pgstatfuncs.c