From 4236825197e8b7f26f8fd2ce0ac287a696e7264e Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Tue, 3 Sep 2024 14:49:04 +0900 Subject: Fix typos and grammar in code comments and docs Author: Alexander Lakhin Discussion: https://postgr.es/m/f7e514cf-2446-21f1-a5d2-8c089a6e2168@gmail.com --- doc/src/sgml/xfunc.sgml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/xfunc.sgml b/doc/src/sgml/xfunc.sgml index 9bc23a9a938..af7864a1b5b 100644 --- a/doc/src/sgml/xfunc.sgml +++ b/doc/src/sgml/xfunc.sgml @@ -3891,8 +3891,8 @@ static const PgStat_KindInfo custom_stats = { it with pgstat_register_kind and a unique ID used to store the entries related to this type of statistics: -extern PgStat_Kind pgstat_add_kind(PgStat_Kind kind, - const PgStat_KindInfo *kind_info); +extern PgStat_Kind pgstat_register_kind(PgStat_Kind kind, + const PgStat_KindInfo *kind_info); While developing a new extension, use PGSTAT_KIND_EXPERIMENTAL for -- cgit v1.2.3