pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
ERROR:  Procedures cannot take more than 16 arguments
4+ messages / 4 participants
[nested] [flat]

* ERROR:  Procedures cannot take more than 16 arguments
@ 2001-07-10 20:34 Kristis Makris <kristis.makris@datasoft.com>
  2001-07-10 20:54 ` Re: ERROR:  Procedures cannot take more than 16 arguments Peter Eisentraut <peter_e@gmx.net>
  0 siblings, 1 reply; 4+ messages in thread

From: Kristis Makris @ 2001-07-10 20:34 UTC (permalink / raw)
  To: pgsql-sql

Hello all,

Using PostgreSQL 7.1.2 on i686-pc-linux-gnu, compiled by GCC
egcs-2.91.66, I attempted to create a plpgsql function that takes 17
arguments and I received the error:

ERROR:  Procedures cannot take more than 16 arguments


Can this limit be increased by manipulating some variable in the
postgres source code? If so, how would I go about finding which file +
variable I need to alter?

If not, are there any plans for increasing that limit in future 7.1.x or
7.x releases?

Thanks for any help,
-Kristis





^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: ERROR:  Procedures cannot take more than 16 arguments
  2001-07-10 20:34 ERROR:  Procedures cannot take more than 16 arguments Kristis Makris <kristis.makris@datasoft.com>
@ 2001-07-10 20:54 ` Peter Eisentraut <peter_e@gmx.net>
  2001-07-10 21:30   ` Re: ERROR:  Procedures cannot take more than 16 arguments Josh Berkus <josh@agliodbs.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Peter Eisentraut @ 2001-07-10 20:54 UTC (permalink / raw)
  To: Kristis Makris <kristis.makris@datasoft.com>; +Cc: pgsql-sql

Kristis Makris writes:

> ERROR:  Procedures cannot take more than 16 arguments

> Can this limit be increased by manipulating some variable in the
> postgres source code? If so, how would I go about finding which file +
> variable I need to alter?

FUNC_MAX_ARGS in config.h; see the comments there.

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: ERROR:  Procedures cannot take more than 16 arguments
  2001-07-10 20:34 ERROR:  Procedures cannot take more than 16 arguments Kristis Makris <kristis.makris@datasoft.com>
  2001-07-10 20:54 ` Re: ERROR:  Procedures cannot take more than 16 arguments Peter Eisentraut <peter_e@gmx.net>
@ 2001-07-10 21:30   ` Josh Berkus <josh@agliodbs.com>
  2001-07-11 00:15     ` Re: ERROR: Procedures cannot take more than 16 arguments Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 4+ messages in thread

From: Josh Berkus @ 2001-07-10 21:30 UTC (permalink / raw)
  To: pgsql-sql

Peter,

> FUNC_MAX_ARGS in config.h; see the comments there.

Darn! I asked this a year ago, and was told by somebody at Hub.org that
it couldn't be changed ...

-Josh


______AGLIO DATABASE SOLUTIONS___________________________
                                       Josh Berkus
  Complete information technology      josh@agliodbs.com
   and data management solutions       (415) 565-7293
  for law firms, small businesses        fax 621-2533
    and non-profit organizations.      San Francisco



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: ERROR: Procedures cannot take more than 16 arguments
  2001-07-10 20:34 ERROR:  Procedures cannot take more than 16 arguments Kristis Makris <kristis.makris@datasoft.com>
  2001-07-10 20:54 ` Re: ERROR:  Procedures cannot take more than 16 arguments Peter Eisentraut <peter_e@gmx.net>
  2001-07-10 21:30   ` Re: ERROR:  Procedures cannot take more than 16 arguments Josh Berkus <josh@agliodbs.com>
@ 2001-07-11 00:15     ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 4+ messages in thread

From: Tom Lane @ 2001-07-11 00:15 UTC (permalink / raw)
  To: Josh Berkus <josh@agliodbs.com>; +Cc: pgsql-sql

"Josh Berkus" <josh@agliodbs.com> writes:
>> FUNC_MAX_ARGS in config.h; see the comments there.

> Darn! I asked this a year ago, and was told by somebody at Hub.org that
> it couldn't be changed ...

A year or so ago, that was the correct answer.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2001-07-11 00:15 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-07-10 20:34 ERROR:  Procedures cannot take more than 16 arguments Kristis Makris <kristis.makris@datasoft.com>
2001-07-10 20:54 ` Peter Eisentraut <peter_e@gmx.net>
2001-07-10 21:30   ` Josh Berkus <josh@agliodbs.com>
2001-07-11 00:15     ` Re: ERROR: Procedures cannot take more than 16 arguments Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox