From 0bdd0cdd982fed5b42ec9568a54e0aa98219105d Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 10 Jan 2000 18:18:30 +0000 Subject: Update fmgr to allow 32 arguments. --- src/include/config.h.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/config.h.in b/src/include/config.h.in index c731bea4425..ac546ff5123 100644 --- a/src/include/config.h.in +++ b/src/include/config.h.in @@ -93,8 +93,13 @@ #define INDEXSCAN_PATCH /* - * Maximum number of columns in an index and maximum number of args + * Maximum number of columns in an index and maximum number of arguments * to a function. They must be the same value. + * + * There is no maximum value, though if you want to pass more than 32 + * arguments to a function, you will have to modify + * pgsql/src/backend/utils/fmgr/fmgr.c and add additional entries + * to the 'case' statement for the additional arguments. */ #define INDEX_MAX_KEYS 8 #define FUNC_MAX_ARGS INDEX_MAX_KEYS -- cgit v1.2.3