Re: increasing FUNC_MAX_ARGS insufficient?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: gss+pg(at)cs(dot)brown(dot)edu
Cc: PostgreSQL general mailing list <pgsql-general(at)postgresql(dot)org>
Subject: Re: increasing FUNC_MAX_ARGS insufficient?
Date: 2002-08-08 07:49:26
Message-ID: 1033.1028792966@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Gregory Seidman <gss+pg(at)cs(dot)brown(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Stephane Bortzmeyer 2002-08-08 08:04:24 IPv6 type?
Previous Message Gregory Seidman 2002-08-08 07:24:29 increasing FUNC_MAX_ARGS insufficient?