aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/execMain.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-02-29 17:36:48 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-02-29 17:36:48 +0000
commitf91bde3fb67ab4ae95680afbf822b0181981e1ca (patch)
treec3ca78f0472d22eb04e80156ab6a1c5e80aeed52 /src/backend/executor/execMain.c
parent02760606d1d8b92245289c36c53e99e1a4073570 (diff)
downloadpostgresql-f91bde3fb67ab4ae95680afbf822b0181981e1ca.tar.gz
postgresql-f91bde3fb67ab4ae95680afbf822b0181981e1ca.zip
make_sort_from_pathkeys()'s method for choosing which of several
equivalent sort expressions to use was broken: you can't just look at the relation membership, you have to actually grovel over the individual Vars in each expression. I think this did work when it was written, but it was broken by subsequent optimizations that made join relations not propagate every single input variable upward. Must find the Var that got propagated, not choose one at random. Per bug report from Daniel O'Neill.
Diffstat (limited to 'src/backend/executor/execMain.c')
0 files changed, 0 insertions, 0 deletions