1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-07 00:36:50 +03:00

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

now depends on.
This commit is contained in:
Tom Lane
2005-02-05 20:07:16 +00:00
parent 12179c99b1
commit 4f82112473

View File

@ -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;
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,
} }
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,...)
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,...)
{ {