pgsql: Make xlog_internal.h includable in frontend context. - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Make xlog_internal.h includable in frontend context.
Date
Msg-id E1Tj8U8-0004SX-TA@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: In multi-insert, don't go into infinite loop on a huge tuple and
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Allow a streaming replication standby to follow a timeline switc