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

Commit401e6de

Browse files
committed
More fixes, but still need +1 for FUNC_MAX_ARGS
1 parentbf49f08 commit401e6de

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

‎src/backend/catalog/pg_proc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/catalog/pg_proc.c,v 1.37 2000/01/10 17:14:31 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/catalog/pg_proc.c,v 1.38 2000/01/11 02:30:05 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -80,7 +80,7 @@ ProcedureCreate(char *procedureName,
8080
{
8181
Value*t=lfirst(x);
8282

83-
if (parameterCount==FUNC_MAX_ARGS)
83+
if (parameterCount>FUNC_MAX_ARGS)
8484
elog(ERROR,"Procedures cannot take more than %d arguments",FUNC_MAX_ARGS);
8585

8686
if (strcmp(strVal(t),"opaque")==0)

‎src/backend/libpq/be-pqexec.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/libpq/Attic/be-pqexec.c,v 1.26 2000/01/10 17:14:35 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/libpq/Attic/be-pqexec.c,v 1.27 2000/01/11 02:30:06 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -81,6 +81,8 @@ PQfn(int fnid,
8181
retval= (char*)
8282
fmgr(fnid,arg[0],arg[1],arg[2],arg[3],
8383
arg[4],arg[5],arg[6],arg[7]);
84+
arg[8],arg[9],arg[10],arg[11]);
85+
arg[12],arg[13],arg[14],arg[15]);
8486

8587
/* ----------------
8688
*put the result in the buffer the user specified and

‎src/include/config.h.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
* pgsql/src/backend/utils/fmgr/fmgr.c and add additional entries
102102
* to the 'case' statement for the additional arguments.
103103
*/
104-
#defineINDEX_MAX_KEYS8
104+
#defineINDEX_MAX_KEYS16
105105
#defineFUNC_MAX_ARGS(INDEX_MAX_KEYS+1)
106106

107107
/*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp