Skip site navigation (1) Skip section navigation (2)

pgsql: Make xlog_internal.h includable in frontend context.

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Make xlog_internal.h includable in frontend context.
Date: 2012-12-13 13:05:56
Message-ID: E1Tj8U8-0004SX-TA@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: 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

Next:From: Heikki LinnakangasDate: 2012-12-13 17:19:36
Subject: pgsql: Allow a streaming replication standby to follow a timelineswitc
Previous:From: Heikki LinnakangasDate: 2012-12-12 11:55:33
Subject: pgsql: In multi-insert,don't go into infinite loop on a huge tuple and

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group