aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1996-12-26 17:44:46 +0000
committerBruce Momjian <bruce@momjian.us>1996-12-26 17:44:46 +0000
commitdf0eee9963de785ae0910d81483c272357a483f5 (patch)
treec2e2d66bdf7be6e307542285c76cea88b18d8d07 /src
parent0fde972e252636495e91841f409baf60db6a960c (diff)
downloadpostgresql-df0eee9963de785ae0910d81483c272357a483f5.tar.gz
postgresql-df0eee9963de785ae0910d81483c272357a483f5.zip
Removal of CppConcat from indexam.c.
As an example I sent a bug-report on 26 Nov to tell that the fix included below is necessary to compile pg95-current on Ultrix with Digital's standard C compiler c89. In fact I think that this fix is needed for any C compiler sticking very close the standard, see my discussion in the original bug report. Erik Bertelsen
Diffstat (limited to 'src')
-rw-r--r--src/backend/access/index/indexam.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/access/index/indexam.c b/src/backend/access/index/indexam.c
index 92b7d4236ef..93539cc82bc 100644
--- a/src/backend/access/index/indexam.c
+++ b/src/backend/access/index/indexam.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/index/indexam.c,v 1.8 1996/11/13 20:46:59 scrappy Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/index/indexam.c,v 1.9 1996/12/26 17:44:46 momjian Exp $
*
* INTERFACE ROUTINES
* index_open - open an index relation by relationId
@@ -101,13 +101,13 @@ Assert(RelationIsValid(relation)); \
Assert(PointerIsValid(scan->relation->rd_am))
#define GET_REL_PROCEDURE(x,y) \
- CppConcat(procedure = relation->rd_am->,y); \
+ procedure = relation->rd_am->y; \
if (! RegProcedureIsValid(procedure)) \
elog(WARN, "index_%s: invalid %s regproc", \
CppAsString(x), CppAsString(y))
#define GET_SCAN_PROCEDURE(x,y) \
- CppConcat(procedure = scan->relation->rd_am->,y); \
+ procedure = scan->relation->rd_am->y; \
if (! RegProcedureIsValid(procedure)) \
elog(WARN, "index_%s: invalid %s regproc", \
CppAsString(x), CppAsString(y))