Make xlog_internal.h includable in frontend context. This makes unnecessary the ugly hack used to #include postgres.h in pg_basebackup. Based on Alvaro Herrera's patch Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/527668717a660e67c2a6cfd4e85f7a513f99f6f2 Modified Files -------------- src/backend/access/rmgrdesc/xlogdesc.c | 1 + src/backend/access/transam/xlogarchive.c | 1 + src/backend/access/transam/xlogfuncs.c | 1 + src/backend/postmaster/bgwriter.c | 1 + src/backend/postmaster/checkpointer.c | 1 + src/backend/postmaster/pgarch.c | 1 + src/bin/pg_basebackup/pg_basebackup.c | 8 +----- src/bin/pg_basebackup/pg_receivexlog.c | 8 +----- src/bin/pg_basebackup/receivelog.c | 11 +-------- src/bin/pg_basebackup/streamutil.c | 8 +----- src/include/access/xlog_fn.h | 35 +++++++++++++++++++++++++++ src/include/access/xlog_internal.h | 38 ++++++++++------------------- 12 files changed, 58 insertions(+), 56 deletions(-)
pgsql-committers by date:
Соглашаюсь с условиями обработки персональных данных