Re: [SQL] defaults in a function

2012-06-06 Thread David Johnston
On Jun 6, 2012, at 11:08, John Fabiani wrote: > Hi, > 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 def

[SQL] defaults in a function

2012-06-06 Thread John Fabiani
Hi, 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??? Johnf -- Sent via p