]> granicus.if.org Git - postgresql/commit
Make xlog_internal.h includable in frontend context.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 13 Dec 2012 12:59:13 +0000 (14:59 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 13 Dec 2012 12:59:13 +0000 (14:59 +0200)
commit527668717a660e67c2a6cfd4e85f7a513f99f6f2
tree1e07f83161d261fded44757ba89b5e2e48a9babb
parent6264cd3d69b519b6e6f2470e3c23ad1ef1ddff66
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
12 files changed:
src/backend/access/rmgrdesc/xlogdesc.c
src/backend/access/transam/xlogarchive.c
src/backend/access/transam/xlogfuncs.c
src/backend/postmaster/bgwriter.c
src/backend/postmaster/checkpointer.c
src/backend/postmaster/pgarch.c
src/bin/pg_basebackup/pg_basebackup.c
src/bin/pg_basebackup/pg_receivexlog.c
src/bin/pg_basebackup/receivelog.c
src/bin/pg_basebackup/streamutil.c
src/include/access/xlog_fn.h [new file with mode: 0644]
src/include/access/xlog_internal.h