Re: table inheritance and polymorphic functions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: table inheritance and polymorphic functions
Дата
Msg-id 2184.1089429386@sss.pgh.pa.us
обсуждение исходный текст
Ответ на table inheritance and polymorphic functions  (David.Ventimiglia@wellsfargo.com)
Список pgsql-novice
David.Ventimiglia@wellsfargo.com writes:
> Is there any way to set up overloaded functions whose parameters are
> composite types (i.e., row types) within a table inheritance hierarchy, so
> that postgresql dispatches to the correct function depending on the actual
> type of its argument, in an "object-oriented" fashion?

AFAIK this has always worked: functions on parent tables can be called
on rows of child tables.  What problem are you hitting exactly (and
which PG version are you trying it in)?

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: .pgpass
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Extended Query: Parse Command: syntax?