Re: [BUGS] inheritance_planner() bug in 9.1

2011-01-12 Thread Tom Lane
Jeff Davis writes: > The attached SQL causes a crash in 9.1. It appears to be caused by: > d1001a78ce612a16ea622b558f5fc2b68c45ab4c > The patch tries to copy all of the important data out of the child > context before it's reset; but it doesn't get everything. For instance, > grouping_planner

[BUGS] inheritance_planner() bug in 9.1

2011-01-12 Thread Jeff Davis
The attached SQL causes a crash in 9.1. It appears to be caused by: d1001a78ce612a16ea622b558f5fc2b68c45ab4c The patch tries to copy all of the important data out of the child context before it's reset; but it doesn't get everything. For instance, grouping_planner() allocates subroot.glob->pa