diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-06-10 03:32:25 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-06-10 03:32:25 +0000 |
| commit | a87ee007edfa3d71e31cea4adad396888adbcd5a (patch) | |
| tree | c2eeadb582711700d0de21d01ab3a994f8bfb716 /contrib/btree_gist/btree_utils_var.h | |
| parent | 453d74b99c9ba6e5e75d214b0d7bec13553ded89 (diff) | |
Quick hack to allow the outer query's tuple_fraction to be passed down
to a subquery if the outer query is simple enough that the LIMIT can
be reflected directly to the subquery. This didn't use to be very
interesting, because a subquery that couldn't have been flattened into
the upper query was usually not going to be very responsive to
tuple_fraction anyway. But with new code that allows UNION ALL subqueries
to pay attention to tuple_fraction, this is useful to do. In particular
this lets the optimization occur when the UNION ALL is directly inside
a view.
Diffstat (limited to 'contrib/btree_gist/btree_utils_var.h')
0 files changed, 0 insertions, 0 deletions
