Skip to content

Commit 4f82112

Browse files
committed
Fix bit-rot in ipc_test.c; it didn't include some stuff that pg_shmem.c
now depends on.
1 parent 12179c9 commit 4f82112

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

src/backend/port/ipc_test.c

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
*
2222
*
2323
* IDENTIFICATION
24-
* $PostgreSQL: pgsql/src/backend/port/ipc_test.c,v 1.16 2004/12/31 22:00:29 pgsql Exp $
24+
* $PostgreSQL: pgsql/src/backend/port/ipc_test.c,v 1.17 2005/02/05 20:07:16 tgl Exp $
2525
*
2626
*-------------------------------------------------------------------------
2727
*/
@@ -51,6 +51,8 @@ bool IsUnderPostmaster = false;
5151
int MaxBackends = 32;
5252
int NBuffers = 64;
5353

54+
char *DataDir = ".";
55+
5456
#ifndef assert_enabled
5557
bool assert_enabled = true;
5658
#endif
@@ -129,6 +131,11 @@ ExceptionalCondition(char *conditionName,
129131
}
130132

131133

134+
int
135+
errcode_for_file_access(void)
136+
{
137+
return 0;
138+
}
132139

133140
bool
134141
errstart(int elevel, const char *filename, int lineno,
@@ -143,6 +150,11 @@ errfinish(int dummy,...)
143150
proc_exit(1);
144151
}
145152

153+
void
154+
elog_start(const char *filename, int lineno, const char *funcname)
155+
{
156+
}
157+
146158
void
147159
elog_finish(int elevel, const char *fmt,...)
148160
{

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy