Re: Function with defval returns error

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Function with defval returns error
Дата
Msg-id 200812152237.51872.peter_e@gmx.net
обсуждение исходный текст
Ответ на Re: Function with defval returns error  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Function with defval returns error  ("Rushabh Lathia" <rushabh.lathia@gmail.com>)
Список pgsql-hackers
On Monday 15 December 2008 15:43:00 Tom Lane wrote:
> Peter Eisentraut <peter_e@gmx.net> writes:
> > Rushabh Lathia wrote:
> >> I think this should not return error as the input args here is
> >> timestamp... inputs?
> >
> > In theory yes, but it's currently not that smart.
>
> This is truly horrid.  Was that patch *really* ready to commit?
> I noticed some comments added to polymorphism.sql that certainly
> look like there's still a lot of half-bakedness in it.

There is that one case where a call that could be allowed is overly-cautiously 
rejected.  That only happens if you have a mix of overloading and default 
parameters.  It's not really half-baked in the sense that it is not 
digestible; it's just not the greatest cake yet.  It's 
improvement-compatible.


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

Предыдущее
От: "Jonah H. Harris"
Дата:
Сообщение: Re: SQL/MED compatible connection manager
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: SQL/MED compatible connection manager