Re: [HACKERS] pull_up_simple_subquery

2011-12-06 Thread Tom Lane
Robert Haas writes: > While working on KaiGai's "leaky views" patch, I found myself > scrutinizing the behavior of the function named in the subject line; > and specifically the retest of is_simple_subquery(). I've been unable > to make that fail. It might be that the is_simple_subquery conditio

[HACKERS] pull_up_simple_subquery

2011-12-05 Thread Robert Haas
While working on KaiGai's "leaky views" patch, I found myself scrutinizing the behavior of the function named in the subject line; and specifically the retest of is_simple_subquery(). I've been unable to make that fail. For example, the following patch fails to break the regression tests: --- a/