Re: Polymorphic functions' weird behavior

Поиск
Список
Период
Сортировка
От Viatcheslav Kalinin
Тема Re: Polymorphic functions' weird behavior
Дата
Msg-id 46B07A92.9090002@ipcb.net
обсуждение исходный текст
Ответ на Re: Polymorphic functions' weird behavior  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Tom Lane wrote:
>
> You'd have to cast the NULL to some specific array type.
>
> regards, tom lane
Unfortunately I can't do that (well, in fact it would be pretty
inconvenient) because the function is called from other plpgsql function
and I cannot be sure if it will be called with NULL or not. Anyway I
seem to resolved the problem by writing another doing-nothing-at-all
function with the same name and "unknown' argument type.

regards, Viatcheslav


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

Предыдущее
От: Hannes Dorbath
Дата:
Сообщение: Re: Linux distro
Следующее
От: Kenneth Downs
Дата:
Сообщение: Re: Linux distro