git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: a3c9d35) | patch
Generate a few more functions of pgstatfuncs.c with macros
2023年3月27日 22:35:33 +0000 (07:35 +0900)
2023年3月27日 22:35:33 +0000 (07:35 +0900)
commit 4efd0bf7eaebb3e3f5a3a6edd0865f6973e709a6
Generate a few more functions of pgstatfuncs.c with macros

Two new macros are added with their respective functions switched to
use them. These are for functions with millisecond stats, with and
without "xact" in their names (for the stats that can be tracked within
a transaction).

While on it, prefix the macro for float8 on database entries with "_MS",
as it does a us->ms conversion, based on a suggestion from Andres
Freund.

Author: Bertrand Drouvot
Discussion: https://postgr.es/m/6e2efb4f-6fd0-807e-f6bf-94207db8183a@gmail.com
src/backend/utils/adt/pgstatfuncs.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /