1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-17 17:02:08 +03:00

Include postgres.h before checking #ifdef XLOG.

This commit is contained in:
Peter Eisentraut
2000-11-20 16:47:32 +00:00
parent 9394d391b8
commit 2b1d8bd29a
4 changed files with 13 additions and 18 deletions

View File

@ -8,18 +8,16 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/transam/varsup.c,v 1.32 2000/11/08 22:09:55 tgl Exp $ * $Header: /cvsroot/pgsql/src/backend/access/transam/varsup.c,v 1.33 2000/11/20 16:47:30 petere Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#ifdef XLOG
#include "xlog_varsup.c"
#else
#include "postgres.h" #include "postgres.h"
#ifdef XLOG
#include "xlog_varsup.c"
#else
#include "access/heapam.h" #include "access/heapam.h"
#include "catalog/catname.h" #include "catalog/catname.h"
#include "storage/proc.h" #include "storage/proc.h"

View File

@ -9,10 +9,10 @@
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#ifdef XLOG
#include "postgres.h" #include "postgres.h"
#ifdef XLOG
#include "access/xlog.h" #include "access/xlog.h"
#include "access/transam.h" #include "access/transam.h"
#include "access/xact.h" #include "access/xact.h"

View File

@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/bufmgr.c,v 1.93 2000/11/08 22:09:59 tgl Exp $ * $Header: /cvsroot/pgsql/src/backend/storage/buffer/bufmgr.c,v 1.94 2000/11/20 16:47:31 petere Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
@ -43,10 +43,10 @@
* buf_table.c -- manages the buffer lookup table * buf_table.c -- manages the buffer lookup table
*/ */
#include "postgres.h"
#ifdef XLOG #ifdef XLOG
#include "xlog_bufmgr.c" #include "xlog_bufmgr.c"
#else #else
#include <sys/types.h> #include <sys/types.h>
@ -54,7 +54,6 @@
#include <math.h> #include <math.h>
#include <signal.h> #include <signal.h>
#include "postgres.h"
#include "executor/execdebug.h" #include "executor/execdebug.h"
#include "miscadmin.h" #include "miscadmin.h"
#include "storage/s_lock.h" #include "storage/s_lock.h"

View File

@ -16,15 +16,15 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/localbuf.c,v 1.34 2000/11/08 22:09:59 tgl Exp $ * $Header: /cvsroot/pgsql/src/backend/storage/buffer/localbuf.c,v 1.35 2000/11/20 16:47:32 petere Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#include "postgres.h"
#ifdef XLOG #ifdef XLOG
#include "xlog_localbuf.c" #include "xlog_localbuf.c"
#else #else
#include <sys/types.h> #include <sys/types.h>
@ -32,8 +32,6 @@
#include <math.h> #include <math.h>
#include <signal.h> #include <signal.h>
#include "postgres.h"
#include "executor/execdebug.h" #include "executor/execdebug.h"
#include "storage/smgr.h" #include "storage/smgr.h"
#include "utils/relcache.h" #include "utils/relcache.h"