[HACKERS] Incorrect mention of pg_xlog_switch() in xlogfuncs.c - Mailing list pgsql-hackers

From Neha Khatri
Subject [HACKERS] Incorrect mention of pg_xlog_switch() in xlogfuncs.c
Date
Msg-id CAFO0U+9DMg8H1eKBRogfCSvuPFkxzf=P7T7Od+fEFvSczjNuTQ@mail.gmail.com
Whole thread Raw
List pgsql-hackers
While reading some code, noticed that the headers of functions
pg_walfile_name_offset() and pg_walfile_name() incorrecty refer
pg_xlog_switch() since the inception of code in commit 704ddaaa.

In PG10 implementation, actual name of the referred function is
pg_switch_wal(). So either refer the correct name in the function
header or remove the other function referral from the function header.

Attaching patches for both the ways.
-- 
Regards,
Neha

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Attachment

pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: [HACKERS] Preliminary results for proposed new pgindentimplementation
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] Preliminary results for proposed new pgindent implementation