summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorBruce Momjian2000-01-10 18:18:30 +0000
committerBruce Momjian2000-01-10 18:18:30 +0000
commit0bdd0cdd982fed5b42ec9568a54e0aa98219105d (patch)
treed0b2f97d1a0be688f73d19311f56d3396fb6f69c /src/include
parent8a093d0ae3a139d912ce9f8ba2cde294de79e12e (diff)
Update fmgr to allow 32 arguments.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/config.h.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/include/config.h.in b/src/include/config.h.in
index c731bea442..ac546ff512 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