aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlog.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2000-11-16 05:51:07 +0000
committerBruce Momjian <bruce@momjian.us>2000-11-16 05:51:07 +0000
commit312063c97be346c3ce01faff021e9bff0464fa5c (patch)
treea4b33aa5242b3e1172379308804f3b06a89857bc /src/backend/access/transam/xlog.c
parent580d2bc60f0e225e3fffc4da81039cf28e249749 (diff)
downloadpostgresql-312063c97be346c3ce01faff021e9bff0464fa5c.tar.gz
postgresql-312063c97be346c3ce01faff021e9bff0464fa5c.zip
Make pgsql compile on FreeBSD-alpha.
Context diff this time. Remove -m486 compile args for FreeBSD-i386, compile -O2 on i386. Compile with only -O on alpha for codegen safety. Make the port use the TEST_AND_SET for alpha and i386 on FreeBSD. Fix a lot of bogus string formats for outputting pointers (cast to int and %u/%x replaced with no cast and %p), and 'Size'(size_t) are now cast to 'unsigned long' and output with %lu/ Remove an unused variable. Alfred Perlstein
Diffstat (limited to 'src/backend/access/transam/xlog.c')
-rw-r--r--src/backend/access/transam/xlog.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c
index 6d7112ceaf1..b85c39cb80e 100644
--- a/src/backend/access/transam/xlog.c
+++ b/src/backend/access/transam/xlog.c
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Header: /cvsroot/pgsql/src/backend/access/transam/xlog.c,v 1.25 2000/11/09 11:25:58 vadim Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/transam/xlog.c,v 1.26 2000/11/16 05:50:59 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -1274,7 +1274,6 @@ BootStrapXLOG()
int fd;
char buffer[BLCKSZ];
CheckPoint checkPoint;
- bool usexistent = false;
#ifdef XLOG
XLogPageHeader page = (XLogPageHeader) buffer;