Commit 0bdd0cdd authored by Bruce Momjian's avatar Bruce Momjian

Update fmgr to allow 32 arguments.

parent 8a093d0a
This diff is collapsed.
...@@ -93,8 +93,13 @@ ...@@ -93,8 +93,13 @@
#define INDEXSCAN_PATCH #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. * 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 INDEX_MAX_KEYS 8
#define FUNC_MAX_ARGS INDEX_MAX_KEYS #define FUNC_MAX_ARGS INDEX_MAX_KEYS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment