Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdf0eee9

Browse files
committed
Removal of CppConcat from indexam.c.
As an example I sent a bug-report on 26 Nov to tell that the fix includedbelow is necessary to compile pg95-current on Ultrix with Digital'sstandard C compiler c89. In fact I think that this fix is neededfor any C compiler sticking very close the standard, see my discussionin the original bug report.Erik Bertelsen
1 parent0fde972 commitdf0eee9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/backend/access/index/indexam.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/index/indexam.c,v 1.8 1996/11/13 20:46:59 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/index/indexam.c,v 1.9 1996/12/26 17:44:46 momjian Exp $
1111
*
1212
* INTERFACE ROUTINES
1313
*index_open - open an index relation by relationId
@@ -101,13 +101,13 @@ Assert(RelationIsValid(relation)); \
101101
Assert(PointerIsValid(scan->relation->rd_am))
102102

103103
#defineGET_REL_PROCEDURE(x,y) \
104-
CppConcat(procedure = relation->rd_am->,y); \
104+
procedure = relation->rd_am->y; \
105105
if (! RegProcedureIsValid(procedure)) \
106106
elog(WARN, "index_%s: invalid %s regproc", \
107107
CppAsString(x), CppAsString(y))
108108

109109
#defineGET_SCAN_PROCEDURE(x,y) \
110-
CppConcat(procedure = scan->relation->rd_am->,y); \
110+
procedure = scan->relation->rd_am->y; \
111111
if (! RegProcedureIsValid(procedure)) \
112112
elog(WARN, "index_%s: invalid %s regproc", \
113113
CppAsString(x), CppAsString(y))

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp