Andrew Dunstan <andrew@dunslane.net> writes:
> That makes sense. I haven't tested it, but the code looks pretty sane.
> Nice job. I guess if we ever want to specify a default that's not a
> Const for some reason we'd have to fall back on the system_views
> mechanism. But that's not very likely.
Right, the idea of this patch is to make the common cases easy
without making uncommon cases any worse than they were. We have
enough experience now with default arguments to be pretty sure
that this will cover 90%-plus of the need.
regards, tom lane