Tom Lane wrote:
> Instead of supposing (wrongly, in the general case) that the rowtype
> of an inheritance child table is binary-compatible with the rowtype of
> its parent, invent an expression node type that does the conversion
> correctly. Fixes the new bug exhibited by Kris Shannon as well as a
> lot of old bugs that would only show up when using multiple inheritance
> or after altering the parent table.
Attached is a patch adding regression tests for this change. I'll apply
it to HEAD later tonight or tomorrow baring any objections. I just used
the two test cases posted in the -hackers thread; Tom, if you have any
other test cases for this behavior in mind, just let me know.
-Neil
In response to
Responses
pgsql-committers by date
| Next: | From: Peter Eisentraut | Date: 2004-12-12 15:34:20 |
| Subject: pgsql: Fix problems with certain shells (e.g., FreeBSD, Cygwin) clearing |
| Previous: | From: Tom Lane | Date: 2004-12-12 05:07:57 |
| Subject: pgsql: Upgrade formrdesc() so that it can correctly initialize the |