Re: Variadic parameters vs parameter defaults
| От | Jeff Davis |
|---|---|
| Тема | Re: Variadic parameters vs parameter defaults |
| Дата | |
| Msg-id | 1229538299.26139.28.camel@dell.linuxdev.us.dell.com обсуждение исходный текст |
| Ответ на | Variadic parameters vs parameter defaults (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: Variadic parameters vs parameter defaults
|
| Список | pgsql-hackers |
On Tue, 2008-12-16 at 19:07 -0500, Tom Lane wrote: > regression=# select fv(1); > ERROR: function fv(integer) does not exist > LINE 1: select fv(1); > ^ > HINT: No function matches the given name and argument types. You might need to add explicit type casts. > > ISTM one could make a pretty good argument that this last case should > succeed, producing an empty-array argument. We had a similar discussion before, and you replied here: http://archives.postgresql.org/pgsql-patches/2008-07/msg00150.php Are you now in favor of allowing zero arguments for a variadic parameter? Regards,Jeff Davis
В списке pgsql-hackers по дате отправления: