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 |
- [SQL] Function with default value? Daniel CAUNE
- Re: [SQL] Function with default value? Tom Lane
- Re: [SQL] Function with default value? Daniel CAUNE