Re: table inheritance and polymorphic functions - Mailing list pgsql-novice

From Tom Lane
Subject Re: table inheritance and polymorphic functions
Date
Msg-id 2184.1089429386@sss.pgh.pa.us
Whole thread Raw
In response to table inheritance and polymorphic functions  (David.Ventimiglia@wellsfargo.com)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: .pgpass
Next
From: Tom Lane
Date:
Subject: Re: Extended Query: Parse Command: syntax?