summaryrefslogtreecommitdiff
path: root/src/backend/access/transam/slru.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-07-21 22:31:26 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-07-21 22:31:26 +0000
commit2042b3428d3947987b27dbd4598fd9a5716ec9e8 (patch)
tree99ba34f4b04e8e951dca70c31ab4edcdd3985e62 /src/backend/access/transam/slru.c
parent8d3517dc1f9383d606bd8e50a9b58e732322fffd (diff)
Invent WAL timelines, as per recent discussion, to make point-in-time
recovery more manageable. Also, undo recent change to add FILE_HEADER and WASTED_SPACE records to XLOG; instead make the XLOG page header variable-size with extra fields in the first page of an XLOG file. This should fix the boundary-case bugs observed by Mark Kirkwood. initdb forced due to change of XLOG representation.
Diffstat (limited to 'src/backend/access/transam/slru.c')
-rw-r--r--src/backend/access/transam/slru.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/access/transam/slru.c b/src/backend/access/transam/slru.c
index 0181e2d6260..d45a7d9f614 100644
--- a/src/backend/access/transam/slru.c
+++ b/src/backend/access/transam/slru.c
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/backend/access/transam/slru.c,v 1.17 2004/07/01 00:49:42 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/access/transam/slru.c,v 1.18 2004/07/21 22:31:20 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -22,6 +22,7 @@
#include "postmaster/bgwriter.h"
#include "storage/fd.h"
#include "storage/lwlock.h"
+#include "storage/shmem.h"
#include "miscadmin.h"