Re: [SQL] 16 parameter limit

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Jan Wieck <JanWieck(at)Yahoo(dot)com>
Cc: John Proctor <jproctor(at)prium(dot)net>, Neil Conway <nconway(at)klamath(dot)dyndns(dot)org>, josh(at)agliodbs(dot)com, peter_e(at)gmx(dot)net, tgl(at)sss(dot)pgh(dot)pa(dot)us, pgsql-patches(at)postgresql(dot)org
Subject: Re: [SQL] 16 parameter limit
Date: 2002-08-14 18:34:40
Message-ID: 200208141834.g7EIYe015655@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches pgsql-sql

Jan Wieck wrote:
> Bruce Momjian wrote:
> >
> > Added to TODO:
> >
> > o Improve PL/PgSQL exception handling
>
> Exception handling? You're talking about nested transaction support and
> catchable errors in the first place, and then (a year later) making use
> of that functionality in the procedural languages, right?

Uh, I guess. Not sure.

>
> > o Allow PL/PgSQL parameters to be specified by name and type during
> > definition
> > o Allow PL/PgSQL function parameters to be passed by name,
> > get_employee_salary(emp_id => 12345, tax_year => 2001)
>
> CREATE FUNCTION is in no way PL/pgSQL specific. PL/pgSQL simply works
> around that lack with the ALIAS syntax in the DECLARE section.

Text updated to:

o Allow parameters to be specified by name and type during
definition
o Allow function parameters to be passed by name,
get_employee_salary(emp_id => 12345, tax_year => 2001)

> > o Add PL/PgSQL packages
>
> This really is a 100% PL/PgSQL problem.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2002-08-14 18:38:04 Re: Open 7.3 items
Previous Message Tom Lane 2002-08-14 18:34:38 Re: Open 7.3 items

Browse pgsql-patches by date

  From Date Subject
Next Message Jan Wieck 2002-08-14 20:22:18 Re: improve SET CONSTRAINTS
Previous Message Jan Wieck 2002-08-14 18:30:53 Re: [SQL] 16 parameter limit

Browse pgsql-sql by date

  From Date Subject
Next Message Masaru Sugawara 2002-08-14 22:57:31 Re: Need Help for select
Previous Message Jan Wieck 2002-08-14 18:30:53 Re: [SQL] 16 parameter limit