Quantcast

Incorrect mention of pg_xlog_switch() in xlogfuncs.c

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Incorrect mention of pg_xlog_switch() in xlogfuncs.c

neha khatri
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 ([hidden email])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

remove_incorrect_function_referral.patch (1K) Download Attachment
correctly_refer_pg_switch_wal.patch (1K) Download Attachment
Previous Thread Next Thread
Loading...