Re: Number of function parameter

Поиск
Список
Период
Сортировка
От scott.marlowe
Тема Re: Number of function parameter
Дата
Msg-id Pine.LNX.4.33.0307211208290.16214-100000@css120.ihs.com
обсуждение исходный текст
Ответ на Number of function parameter  ("Arun Desai" <Arundesai@kinera.com>)
Список pgsql-jdbc
On Mon, 21 Jul 2003, Arun Desai wrote:

> Hi,
>      Why is that there is a maximum limit of 32 input parameters to the
> Postgresql function?
>
>
>       Whereas to my knowledge stored procedures in Oracle and SQL Server
> take unlimited number of input arguments. So this puts extra burden on the
> middleware developer to handle this stiuation at the time of migrating
> existing databases in SQL Server or Oracle to Postgresql.

Just remember, TANSTAAFL (There ain't no such thing as a free lunch)

in some way, you're paying for a limited or unlimited number of args, be
it money, performance, flexibility.  for postgresql, the payment is that
it gets pretty good performance on <=32 args, without a bunch of ugly code
to handle "unlimited" args.  note that there's still a limit, even in
Oracle, it's likely a performance enforced limit though, i.e. after 1024
args the functions get so slow as to be unusable.


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

Предыдущее
От: Dmitry Tkach
Дата:
Сообщение: Re: IN clauses via setObject(Collection) [Was: Re: Prepared
Следующее
От: Paul Thomas
Дата:
Сообщение: Re: IN clauses via setObject(Collection) [Was: Re: Prepare