Re: [BUGS] BUG #5240: Stable Functions that return a table type with a dropped column fail

2009-12-11 Thread Tom Lane
Andrew Gierth writes: > I don't think it's particularly closely related to #4907. Yeah. I think the real problem is that set_subqueryscan_references is overly optimistic about how much work it has to do: * ... Notice we do * not do set_upper_references() here, because a Subqu

Re: [BUGS] BUG #5240: Stable Functions that return a table type with a dropped column fail

2009-12-11 Thread Andrew Gierth
> "David" == "David Gardner" writes: David> The following bug has been logged online: David> Bug reference: 5240 David> Logged by: David Gardner David> Email address: dgard...@creatureshop.com David> PostgreSQL version: 8.4.1 David> Operating system: Debian Linux,

[BUGS] BUG #5240: Stable Functions that return a table type with a dropped column fail

2009-12-11 Thread David Gardner
The following bug has been logged online: Bug reference: 5240 Logged by: David Gardner Email address: dgard...@creatureshop.com PostgreSQL version: 8.4.1 Operating system: Debian Linux, amd64 2.6.30 Description:Stable Functions that return a table type with a dropped