On Jun 6, 2012, at 11:08, John Fabiani <johnf(at)jfcomputer(dot)com> wrote:
> In python when I create a method/function is set a default value for a passed value if one is not provided.
> def foo(self, event = None):
> In the above function if the second value is not passed a value of None is used as the default.
> Is this possible with plpgsql???
... param_n type DEFAULT value
... param_n type = value
It is SQL DDL syntax and not specific to the language the function is written in.
In response to
pgsql-sql by date
|Next:||From: John Fabiani||Date: 2012-06-07 23:17:34|
|Subject: using ordinal_position|
|Previous:||From: John Fabiani||Date: 2012-06-06 15:08:05|
|Subject: defaults in a function|