Re: size of function body

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: size of function body
Дата
Msg-id 3D345E9A.6090806@joeconway.com
обсуждение исходный текст
Ответ на size of function body  (Ralph Graulich <maillist@shauny.de>)
Ответы Re: size of function body  (Ralph Graulich <maillist@shauny.de>)
Список 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




В списке pgsql-general по дате отправления:

Предыдущее
От: Jeff Boes
Дата:
Сообщение: lo_unlink from a trigger
Следующее
От: "Gregory Wood"
Дата:
Сообщение: Re: table size growing out of control