Turns out that Mazurkiewicz's gripe about 'function inheritance' is
Tom Lane <tgl@sss.pgh.pa.us>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/parser/parse_coerce.c | modified | +57 −45 |
| src/backend/parser/parse_func.c | modified | +35 −2 |
| src/include/parser/parse_func.h | modified | +3 −1 |
| src/include/parser/parse_type.h | modified | +3 −1 |