Re: Wrong function name in pgstatfuncs.c

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Wrong function name in pgstatfuncs.c
Date: 2023-11-01 08:37:13
Message-ID: C1075E92-2BE9-4969-8590-1173FD658152@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 1 Nov 2023, at 09:23, Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com> wrote:
>
> Since pgstatfuncs.c was refactored, the comments for synthesized
> function names are significant to find the function body.
>
> I happened to find a misspelling among the function name
> comments. "pg_stat_get_mods_since_analyze" should be
> "pg_stat_get_mod_since_analyze".
>
> Upon checking the file using a rudimentary script, I found no other
> similar mistakes in the same file.

Nice catch, that's indeed a tiny typo, will fix.

--
Daniel Gustafsson

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Smith 2023-11-01 09:02:01 GUC names in messages
Previous Message Kyotaro Horiguchi 2023-11-01 08:23:08 Wrong function name in pgstatfuncs.c