aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistbuild.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-06-26 15:55:01 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2016-06-26 15:55:01 -0400
commitf1993038a4f0ce5fbeb7b562b2acd571bf6b567b (patch)
tree93f5ee92beb05cab27515290246a72a1b6648845 /src/backend/access/gist/gistbuild.c
parent19e972d5580c655423572e3c870e47b5b7c346f6 (diff)
downloadpostgresql-f1993038a4f0ce5fbeb7b562b2acd571bf6b567b.tar.gz
postgresql-f1993038a4f0ce5fbeb7b562b2acd571bf6b567b.zip
Avoid making a separate pass over the query to check for partializability.
It's rather silly to make a separate pass over the tlist + HAVING qual, and a separate set of visits to the syscache, when get_agg_clause_costs already has all the required information in hand. This nets out as less code as well as fewer cycles.
Diffstat (limited to 'src/backend/access/gist/gistbuild.c')
0 files changed, 0 insertions, 0 deletions