Re: increasing FUNC_MAX_ARGS insufficient? - Mailing list pgsql-general

From Tom Lane
Subject Re: increasing FUNC_MAX_ARGS insufficient?
Date
Msg-id 1033.1028792966@sss.pgh.pa.us
Whole thread Raw
In response to increasing FUNC_MAX_ARGS insufficient?  (Gregory Seidman <gss+pg@cs.brown.edu>)
Responses Re: increasing FUNC_MAX_ARGS insufficient?  (Gregory Seidman <gss+pg@cs.brown.edu>)
List pgsql-general
Gregory Seidman <gss+pg@cs.brown.edu> writes:
> I followed Neil Conway's helpful instructions on changing FUNC_MAX_ARGS:
> 1. change FUNC_MAX_ARGS in src/include/pg_config.h

Er ... I trust what you changed was actually the INDEX_MAX_KEYS line?

/*
 * Maximum number of columns in an index and maximum number of arguments
 * to a function. They must be the same value.
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
 */
#define INDEX_MAX_KEYS        16
#define FUNC_MAX_ARGS        INDEX_MAX_KEYS


Other than that, your procedure sounds dead-on ...

            regards, tom lane

pgsql-general by date:

Previous
From: Gregory Seidman
Date:
Subject: increasing FUNC_MAX_ARGS insufficient?
Next
From: Stephane Bortzmeyer
Date:
Subject: IPv6 type?