defaults in a function - Mailing list pgsql-sql

From John Fabiani
Subject defaults in a function
Date
Msg-id 4FCF7255.8070002@jfcomputer.com
Whole thread Raw
Responses Re: defaults in a function  (David Johnston <polobo@yahoo.com>)
List pgsql-sql
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


pgsql-sql by date:

Previous
From: rverghese
Date:
Subject: creating a new trigger for a table on a slave host
Next
From: David Johnston
Date:
Subject: Re: defaults in a function