From d75b2ec4ebbc7fdb51088e89da47c6523bf2c640 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sat, 20 Dec 2003 17:31:21 +0000 Subject: This patch is the next step towards (re)allowing fork/exec. Claudio Natoli --- src/include/access/xlogdefs.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/include/access/xlogdefs.h') diff --git a/src/include/access/xlogdefs.h b/src/include/access/xlogdefs.h index 023469c1cc..057236e4ed 100644 --- a/src/include/access/xlogdefs.h +++ b/src/include/access/xlogdefs.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/access/xlogdefs.h,v 1.10 2003/11/29 22:40:55 pgsql Exp $ + * $PostgreSQL: pgsql/src/include/access/xlogdefs.h,v 1.11 2003/12/20 17:31:21 momjian Exp $ */ #ifndef XLOG_DEFS_H #define XLOG_DEFS_H @@ -33,6 +33,13 @@ typedef struct XLogRecPtr uint32 xrecoff; /* byte offset of location in log file */ } XLogRecPtr; +typedef struct XLogwrtResult +{ + XLogRecPtr Write; /* last byte + 1 written out */ + XLogRecPtr Flush; /* last byte + 1 flushed */ +} XLogwrtResult; + + /* * Macros for comparing XLogRecPtrs * -- cgit v1.2.1