Re: generating function default settings from pg_proc.dat - Mailing list pgsql-hackers

From Tom Lane
Subject Re: generating function default settings from pg_proc.dat
Date
Msg-id 1905096.1771365586@sss.pgh.pa.us
Whole thread Raw
In response to Re: generating function default settings from pg_proc.dat  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
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



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: BackgroundPsql swallowing errors on windows
Next
From: Nathan Bossart
Date:
Subject: add assertion for palloc in signal handlers