aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gin
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-10-27 05:45:43 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-10-27 05:45:43 +0000
commit834ddc6272943ed7075cbca9646fdacb3598a93d (patch)
tree4603483b26ce5210c7d52dda88acf3776f502f4f /src/backend/access/gin
parent5b5a70aedf133d847d92429e336b06a5fb4c5a2a (diff)
downloadpostgresql-834ddc6272943ed7075cbca9646fdacb3598a93d.tar.gz
postgresql-834ddc6272943ed7075cbca9646fdacb3598a93d.zip
Avoid considering both sort directions as equally useful for merging.
This doubles the planning workload for mergejoins while not actually accomplishing much. The only useful case is where one of the directions matches the query's ORDER BY request; therefore, put a thumb on the scales in that direction, and otherwise arbitrarily consider only the ASC direction. (This is a lot easier now than it would've been before 8.3, since we have more semantic knowledge embedded in PathKeys now.)
Diffstat (limited to 'src/backend/access/gin')
0 files changed, 0 insertions, 0 deletions