diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2022-10-12 09:44:40 +0200 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2022-10-12 09:47:11 +0200 |
commit | 9c0de04242a160aa1d4afeefab7d2e40efd8255d (patch) | |
tree | 26dcb453fb99707d3e74b02e359f7b788a55cf41 /contrib/postgres_fdw/postgres_fdw.c | |
parent | c929b2745f8cc48c0ce7dbf1fd01a8cc94d54b75 (diff) | |
download | postgresql-9c0de04242a160aa1d4afeefab7d2e40efd8255d.tar.gz postgresql-9c0de04242a160aa1d4afeefab7d2e40efd8255d.zip |
Reduce xlog.h inclusion footprint
This file needs xlogreader.h only for the XLogReaderState typedef; but
we can dodge that by forward-declaring it. Many files use xlog.h for
reasons other than reading WAL, and it's not good to force all those
files to include xlogreader.h, so take it out.
Surprisingly, there is no fallout in core code from making this change.
Perhaps external code will have to start including xlogreader.h.
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions