Function with default value? - Mailing list pgsql-sql

From Daniel CAUNE
Subject Function with default value?
Date
Msg-id 0ITV004G911MRG90@VL-MH-MR002.ip.videotron.ca
Whole thread Raw
Responses Re: Function with default value?
List pgsql-sql

Hi,

 

Is it possible to define a function with some default values?

 

CREATE OR REPLACE FUNCTION foo(i IN int, j IN int DEFAULT := 1)

 

Anyway, I didn’t find such a feature described in the PostgreSQL 8.1 documentation, but sometimes, that doesn’t mean that the feature doesn’t exist! J

 

Thanks,

 

 

Daniel

pgsql-sql by date:

Previous
From: "Kashmira Patel \(kupatel\)"
Date:
Subject: Re: Question about check constraints
Next
From: Tom Lane
Date:
Subject: Re: Function with default value?