aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistxlog.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-06-10 02:21:05 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-06-10 02:21:05 +0000
commit3b167a4099c9ea2e86cd536afb75becd1f3f3875 (patch)
treecdba797e824f8145bbaf1deb7dbc44f15df5b7a7 /src/backend/access/gist/gistxlog.c
parent39cee738895447cb09bcf9be04ab85b97531d951 (diff)
downloadpostgresql-3b167a4099c9ea2e86cd536afb75becd1f3f3875.tar.gz
postgresql-3b167a4099c9ea2e86cd536afb75becd1f3f3875.zip
If a LIMIT is applied to a UNION ALL query, plan each UNION arm as
if the limit were directly applied to it. This does not actually add a LIMIT plan node to the generated subqueries --- that would be useless overhead --- but it does cause the planner to prefer fast- start plans when the limit is small. After an idea from Phil Endecott.
Diffstat (limited to 'src/backend/access/gist/gistxlog.c')
0 files changed, 0 insertions, 0 deletions