From 2645cb54cb2661bc44e57e93614012274af44937 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 8 Jan 2006 21:24:37 +0000 Subject: Fix the assert_enabled issue properly. This eliminates the former ABI difference between USE_ASSERT_CHECKING and not: the assert_enabled variable is always there. --- src/backend/port/ipc_test.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/backend/port/ipc_test.c') diff --git a/src/backend/port/ipc_test.c b/src/backend/port/ipc_test.c index 89ebe1ded73..25fae2a9b92 100644 --- a/src/backend/port/ipc_test.c +++ b/src/backend/port/ipc_test.c @@ -21,7 +21,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/port/ipc_test.c,v 1.18 2005/10/15 02:49:22 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/port/ipc_test.c,v 1.19 2006/01/08 21:24:36 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -47,16 +47,13 @@ volatile uint32 InterruptHoldoffCount = 0; volatile uint32 CritSectionCount = 0; bool IsUnderPostmaster = false; +bool assert_enabled = true; int MaxBackends = 32; int NBuffers = 64; char *DataDir = "."; -#ifndef assert_enabled -bool assert_enabled = true; -#endif - #define MAX_ON_EXITS 20 -- cgit v1.2.3