diff options
author | Michael Paquier <michael@paquier.xyz> | 2024-09-03 14:49:04 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2024-09-03 14:49:04 +0900 |
commit | 4236825197e8b7f26f8fd2ce0ac287a696e7264e (patch) | |
tree | 14629d4520f55b175c54667547e6feb648e92f52 /doc/src | |
parent | c7cd2d6ed082a4638172acece33ed6f36da96263 (diff) | |
download | postgresql-4236825197e8b7f26f8fd2ce0ac287a696e7264e.tar.gz postgresql-4236825197e8b7f26f8fd2ce0ac287a696e7264e.zip |
Fix typos and grammar in code comments and docs
Author: Alexander Lakhin
Discussion: https://postgr.es/m/f7e514cf-2446-21f1-a5d2-8c089a6e2168@gmail.com
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/xfunc.sgml | 4 |
1 files changed, 2 insertions, 2 deletions
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 <literal>pgstat_register_kind</literal> and a unique ID used to store the entries related to this type of statistics: <programlisting> -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); </programlisting> While developing a new extension, use <literal>PGSTAT_KIND_EXPERIMENTAL</literal> for |