From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | "Decibel!" <decibel(at)decibel(dot)org> |
Cc: | "David E(dot) Wheeler" <david(at)kineticode(dot)com>, pgsql-hackers(at)postgresql(dot)org, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
Subject: | Re: WIP: default values for function parameters |
Date: | 2008-12-09 13:13:32 |
Message-ID: | 493E6EFC.7070302@gmx.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Decibel! wrote:
> On Nov 30, 2008, at 12:04 PM, David E. Wheeler wrote:
>> Agreed, default values should not be a part of function signatures,
>> although it might be nice if ALTER FUNCTION to allow default values to
>> be changed.
> It would be VERY nice. I routinely cut and paste an entire function
> header to later perform things like ALTER and GRANT so that I don't have
> to re-type everything. It would be a huge PITA if I had to then go and
> delete any default settings.
That is not what David was talking about above.
Currently, I don't think you can change parameter default values of an
existing function. But I think that would be a useful and
uncontroversial addition.
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2008-12-09 13:14:39 | Re: WIP: default values for function parameters |
Previous Message | Pavel Stehule | 2008-12-09 13:11:24 | Re: WIP: default values for function parameters |