Allow specifying NULL default in pg_proc.dat for "any" arguments

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Allow specifying NULL default in pg_proc.dat for "any" arguments
Дата
Msg-id 6d776769-e5e4-45f8-a87a-c2be04f01f76@dunslane.net
обсуждение
Ответы Re: Allow specifying NULL default in pg_proc.dat for "any" arguments
Список 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

Вложения

В списке pgsql-hackers по дате отправления: