Re: Functions have 32 args limt ??? - Mailing list pgsql-general

From Stephan Szabo
Subject Re: Functions have 32 args limt ???
Date
Msg-id 20030828080912.T6403-100000@megazone.bigpanda.com
Whole thread Raw
In response to Re: Functions have 32 args limt ???  ("Ivar" <ivar@lumisoft.ee>)
List pgsql-general
On Thu, 28 Aug 2003, Ivar wrote:

> I don't see why default is so small.

Re-read Joe's response.  There are performance and disk usage tradeoffs
for raising the limit. I'd suggest looking at the mailing list archives
for the discussion mentioned.

> "Joe Conway" <mail@joeconway.com> wrote in message
> news:3F4D8DE0.1060307@joeconway.com...
> > Ivar wrote:
> > > For my supprise I found that functions have 32 parameter limit.
> > >
> > > Where to find more info about this limitation or similar limitations ?
> > >
> > > I need at least 50, 100 would be ok.
> >
> > See INDEX_MAX_KEYS defined in src/include/pg_config.h.in
> > (pg_config_manual.h in postgres 7.4). Change to 64 or whatever and
> > recompile. But note that you'll need to dump, initdb, and reload your
> > data. Also note that there are performance and disk usage tradeoffs --
> > search the mailing list archives from August 2002 for some test results
> > and discussion.
> >
> > Joe
> >
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 9: the planner will ignore your desire to choose an index scan if your
> >       joining column's datatypes do not match
> >
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>


pgsql-general by date:

Previous
From: Thomas Beutin
Date:
Subject: left outer join terrible slow compared to inner join
Next
From: Dennis Gearon
Date:
Subject: Re: Functions have 32 args limt ???