Allow specifying NULL default in pg_proc.dat for "any" arguments - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Allow specifying NULL default in pg_proc.dat for "any" arguments
Date
Msg-id 6d776769-e5e4-45f8-a87a-c2be04f01f76@dunslane.net
Whole thread Raw
Responses Re: Allow specifying NULL default in pg_proc.dat for "any" arguments
List pgsql-hackers
I noticed a small gap in our recent addition of default arguments for 
functions in pg_proc.dat - it chokes if you try to set the default for a 
VARIADIC "any" argument. But there's no need if the default argument us 
NULL, as it often is. We don't need the argument's type_io_data etc. in 
such a case. So this patch just handles NULL without fetching any type info.


cheers


andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com

Attachment

pgsql-hackers by date:

Previous
From: David Steele
Date:
Subject: Re: Improve checks for GUC recovery_target_xid
Next
From: Melanie Plageman
Date:
Subject: Re: Mis-use of type BlockNumber?