|
96 | 96 | * Maximum number of columns in an index and maximum number of arguments
|
97 | 97 | * to a function. They must be the same value.
|
98 | 98 | *
|
| 99 | + * The minimum value is 9 (btree index creation has a 9-argument function). |
| 100 | + * |
99 | 101 | * There is no maximum value, though if you want to pass more than 32
|
100 | 102 | * arguments to a function, you will have to modify
|
101 | 103 | * pgsql/src/backend/utils/fmgr/fmgr.c and add additional entries
|
102 | 104 | * to the 'case' statement for the additional arguments.
|
103 | 105 | */
|
104 | 106 | #defineINDEX_MAX_KEYS16
|
105 |
| -#defineFUNC_MAX_ARGS(INDEX_MAX_KEYS+1) |
| 107 | +#defineFUNC_MAX_ARGSINDEX_MAX_KEYS |
106 | 108 |
|
107 | 109 | /*
|
108 | 110 | * Enables debugging print statements in the date/time support routines.
|
|