pgsql: Make XLogReaderInvalReadState static - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: Make XLogReaderInvalReadState static
Date
Msg-id E1i5GZ6-0002PK-5y@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Make XLogReaderInvalReadState static

This function is only used by xlogreader.c itself, so there's no need to
export it.  It was introduced by commit 3b02ea4f0780 with the apparent
intention that it could be used externally, but I couldn't find any
external code calling it.

I (Álvaro) couldn't resist the urge to sort nearby function prototypes
properly while at it.

Author: Antonin Houska
Discussion: https://postgr.es/m/14984.1554998742@spoje.net

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/25dcc9d35dfeb027047ebaea9b27cda1eaa9b393

Modified Files
--------------
src/backend/access/transam/xlogreader.c | 13 +++++++------
src/include/access/xlogreader.h         |  4 ----
2 files changed, 7 insertions(+), 10 deletions(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Remove 'msg' parameter from convert_tuples_by_name
Next
From: Michael Paquier
Date:
Subject: pgsql: Delay fsyncs of pg_basebackup until the end of backup