From 4f821124733a1005107cf7c4322eed2fc9af6e9e Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sat, 5 Feb 2005 20:07:16 +0000 Subject: Fix bit-rot in ipc_test.c; it didn't include some stuff that pg_shmem.c now depends on. --- src/backend/port/ipc_test.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/backend/port/ipc_test.c b/src/backend/port/ipc_test.c index 2620b7a20b4..3e2068f19a5 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.16 2004/12/31 22:00:29 pgsql Exp $ + * $PostgreSQL: pgsql/src/backend/port/ipc_test.c,v 1.17 2005/02/05 20:07:16 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -51,6 +51,8 @@ bool IsUnderPostmaster = false; int MaxBackends = 32; int NBuffers = 64; +char *DataDir = "."; + #ifndef assert_enabled bool assert_enabled = true; #endif @@ -129,6 +131,11 @@ ExceptionalCondition(char *conditionName, } +int +errcode_for_file_access(void) +{ + return 0; +} bool errstart(int elevel, const char *filename, int lineno, @@ -143,6 +150,11 @@ errfinish(int dummy,...) proc_exit(1); } +void +elog_start(const char *filename, int lineno, const char *funcname) +{ +} + void elog_finish(int elevel, const char *fmt,...) { -- cgit v1.2.3