From: | Joe Conway <mail(at)joeconway(dot)com> |
---|---|
To: | Ralph Graulich <maillist(at)shauny(dot)de> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: size of function body |
Date: | 2002-07-16 17:57:46 |
Message-ID: | 3D345E9A.6090806@joeconway.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Ralph Graulich wrote:
> Hi,
>
>
> after some fooling around I figured out that a function body can't be
> larger than the defined postgres' block size, which defaults to 8192
> byte. The same time I read enlarging the default block size has a negative
> performance impact.
>
> How would the "long time experts" decide on the following issues given:
>
> (1) running postgres 7.2.1 on a 32 bit system
> (2) needing (if not splitting up, which would be a tedious work) about at
> least 30 / 35 functions larger than about 20 to 25 kbyte each
> (3) those functions are called for almost every query, which means all
> input/output from the application to the database is done by calling
> functions
Given this set of issues, I would write my functions in C.
Joe
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2002-07-16 18:04:10 | Re: size of function body |
Previous Message | Jeff Boes | 2002-07-16 17:50:44 | lo_unlink from a trigger |