From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-interfaces@postgresql.org
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Roger Moloney <ramoloney@hotmail.com>
Subject: Re: plpgsql: defuault parameters and constant function parameters
Date: Tue, 18 Sep 2007 23:25:12 +0200
Message-ID: <200709182325.12677.peter_e@gmx.net> (raw)
In-Reply-To: <13701.1188433163@sss.pgh.pa.us>
References: <BAY115-F27A40D39CE453718AA0380AFD30@phx.gbl>
<13701.1188433163@sss.pgh.pa.us>
Tom Lane wrote:
> It's easier if the defaultable parameters are at the end, but I
> rather wonder how your informix system is disambiguating the calls
> either with a signature like that. If you leave off just one of the
> two defaultable parameters, how does it know which?
Several other SQL systems allow naming the parameters in calls, such as
CALL foo(a = 1, b = 2)
That's the only way to stay sane with function having 20 or more
parameters anyway.
--
Peter Eisentraut
http://developer.postgresql.org/~petere/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: peter_e@gmx.net, tgl@sss.pgh.pa.us, ramoloney@hotmail.com
Subject: Re: plpgsql: defuault parameters and constant function parameters
In-Reply-To: <200709182325.12677.peter_e@gmx.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox