Wrong function name in pgstatfuncs.c - Mailing list pgsql-hackers

From Kyotaro Horiguchi
Subject Wrong function name in pgstatfuncs.c
Date
Msg-id 20231101.172308.1740861597185391383.horikyota.ntt@gmail.com
Whole thread Raw
Responses Re: Wrong function name in pgstatfuncs.c
List pgsql-hackers
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.

(FWIW, I also feel that these macros might be going a bit too far by
synthesizing even the function names.)

regards.

-- 
Kyotaro Horiguchi
NTT Open Source Software Center

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Is this a problem in GenericXLogFinish()?
Next
From: Daniel Gustafsson
Date:
Subject: Re: Wrong function name in pgstatfuncs.c