| From: | Dennis Gearon <gearond(at)fireserve(dot)net> |
|---|---|
| To: | Ivar <ivar(at)lumisoft(dot)ee> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Functions have 32 args limt ??? |
| Date: | 2003-08-28 14:06:23 |
| Message-ID: | 3F4E0C5F.40804@fireserve.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Ivar wrote:
>I don't see why default is so small.
>
>"Joe Conway" <mail(at)joeconway(dot)com> wrote in message
>news:3F4D8DE0(dot)1060307(at)joeconway(dot)com(dot)(dot)(dot)
>
>
>>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
>
>
>
32 is small? I've never designed a function with more than 12-18, at teh
MOST, arguments.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Alex | 2003-08-28 14:09:44 | Date Time Function / Age |
| Previous Message | Shridhar Daithankar | 2003-08-28 14:04:57 | Re: Books for PostgreSQL? |