pgsql: Rename fields in pgstat structures for functions and relations

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема pgsql: Rename fields in pgstat structures for functions and relations
Дата
Msg-id E1pfUfZ-0053y8-TV@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Rename fields in pgstat structures for functions and relations

This commit renames the members of a few pgstat structures related to
functions and relations, by respectively removing their prefix "f_" and
"t_".  The statistics for functions and relations and handled in their
own file, and pgstatfuncs.c associates each field in a structure
variable named based on the object type handled, so no information is
lost with this rename.

This will help with some of the refactoring aimed for pgstatfuncs.c, as
this makes more consistent the field names with the SQL functions
retrieving them.

Author: Bertrand Drouvot
Reviewed-by: Michael Paquier, Melanie Plageman
Discussion: https://postgr.es/m/9142f62a-a422-145c-bde0-b5bc498a4ada@gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8089517ab8b547daab78f404f99eb48fba91ee9d

Modified Files
--------------
src/backend/utils/activity/pgstat_function.c |  46 ++++-----
src/backend/utils/activity/pgstat_relation.c | 138 +++++++++++++--------------
src/backend/utils/adt/pgstatfuncs.c          |  38 ++++----
src/include/pgstat.h                         |  62 ++++++------
4 files changed, 142 insertions(+), 142 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Implement find_my_exec()'s path normalization using realpath(3).
Следующее
От: Michael Paquier
Дата:
Сообщение: pgsql: Rewrite error message related to sslmode in libpq