]> granicus.if.org Git - postgresql/commit
Turns out that Mazurkiewicz's gripe about 'function inheritance' is
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 16 Mar 2000 06:35:07 +0000 (06:35 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 16 Mar 2000 06:35:07 +0000 (06:35 +0000)
commitd14c8aab99577d7dd06e9d50f3ac9c09d0334131
tree4741b82093bd82052d865f784e47622e8954d106
parentd4a2c86eaf6f5e6c656dd54a7e1967a927cfa2e9
Turns out that Mazurkiewicz's gripe about 'function inheritance' is
actually a type-coercion problem.  If you have a function defined on
class A, and class B inherits from A, then the function ought to work
on class B as well --- but coerce_type didn't know that.  Now it does.
src/backend/parser/parse_coerce.c
src/backend/parser/parse_func.c
src/include/parser/parse_func.h
src/include/parser/parse_type.h