Re: Minor fix in pg_buffercache_evict documentation

Daniel Gustafsson <daniel@yesql.se>

From: Daniel Gustafsson <daniel@yesql.se>
To: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2025-01-31T09:53:04Z
Lists: pgsql-hackers
> On 31 Jan 2025, at 07:03, Ashutosh Bapat <ashutosh.bapat.oss@gmail.com> wrote:
> 
> Hi All,
> All the functions in pg_buffercache module have their names suffixed
> with () and also use <function> tag in the documentation, except
> pg_buffercache_evict(). PFA patch to fix the style. With this change,
> the index entry and the section tile is displayed as "The
> pg_buffercache_evict() Function" instead of "The pg_buffercache_evict
> Function", which looks consistent with other function entries and
> section headers.
> 
> This seems to be the only place where pg_buffercache_evict does not
> have suffix ().

I agree with this fix so I've applied it to master backpatched to v17 where
pg_buffercache_evict was introduced. Thanks!

--
Daniel Gustafsson




Commits

  1. doc: Fix pg_buffercache_evict() title