Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 505D34763D7 for ; Wed, 14 Aug 2002 14:35:02 -0400 (EDT) Received: from candle.pha.pa.us (216-55-132-35.dsl.san-diego.abac.net [216.55.132.35]) by postgresql.org (Postfix) with ESMTP id 44C7B475FD0 for ; Wed, 14 Aug 2002 14:35:01 -0400 (EDT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id g7EIYe015655; Wed, 14 Aug 2002 14:34:40 -0400 (EDT) From: Bruce Momjian Message-Id: <200208141834.g7EIYe015655@candle.pha.pa.us> Subject: Re: [SQL] 16 parameter limit In-Reply-To: <3D5AA1DD.B4F6D946@Yahoo.com> To: Jan Wieck Date: Wed, 14 Aug 2002 14:34:40 -0400 (EDT) Cc: John Proctor , Neil Conway , josh@agliodbs.com, peter_e@gmx.net, tgl@sss.pgh.pa.us, pgsql-patches@postgresql.org X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200208/271 X-Sequence-Number: 4807 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@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073