Re: [HACKERS] How PG parser search (build-in) function?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] How PG parser search (build-in) function?
Дата
Msg-id 12723.947778607@sss.pgh.pa.us
обсуждение исходный текст
Ответ на How PG parser search (build-in) function?  (Karel Zak - Zakkr <zakkr@zf.jcu.cz>)
Ответы Re: [HACKERS] How PG parser search (build-in) function?
Список pgsql-hackers
Karel Zak - Zakkr <zakkr@zf.jcu.cz> writes:
> I have a question... How PG parser select (build-in) function?
> Check parser function's arguments datetypes only or check returns value 
> datetype too (for function searching in system cache ..etc)?

The argument types have to be different.  In general, the parser
doesn't *know* what the return type of the function is; it has to
discover that by looking up the function.  So you can't have two
functions of the same name unless they differ in number and/or type
of arguments.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] TODO list updated
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] TODO list updated