Commit 4f821124 authored by Tom Lane's avatar Tom Lane

Fix bit-rot in ipc_test.c; it didn't include some stuff that pg_shmem.c

now depends on.
parent 12179c99
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
* *
* *
* IDENTIFICATION * 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; ...@@ -51,6 +51,8 @@ bool IsUnderPostmaster = false;
int MaxBackends = 32; int MaxBackends = 32;
int NBuffers = 64; int NBuffers = 64;
char *DataDir = ".";
#ifndef assert_enabled #ifndef assert_enabled
bool assert_enabled = true; bool assert_enabled = true;
#endif #endif
...@@ -129,6 +131,11 @@ ExceptionalCondition(char *conditionName, ...@@ -129,6 +131,11 @@ ExceptionalCondition(char *conditionName,
} }
int
errcode_for_file_access(void)
{
return 0;
}
bool bool
errstart(int elevel, const char *filename, int lineno, errstart(int elevel, const char *filename, int lineno,
...@@ -143,6 +150,11 @@ errfinish(int dummy,...) ...@@ -143,6 +150,11 @@ errfinish(int dummy,...)
proc_exit(1); proc_exit(1);
} }
void
elog_start(const char *filename, int lineno, const char *funcname)
{
}
void void
elog_finish(int elevel, const char *fmt,...) elog_finish(int elevel, const char *fmt,...)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment