Обсуждение: pgsql: Make XLogReaderInvalReadState static

Поиск
Список
Период
Сортировка

pgsql: Make XLogReaderInvalReadState static

От
Alvaro Herrera
Дата:
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(-)