pgsql/src/backend/executor (execProcnode.c nodeIndexscan.c nodeNestloop.c)

Started by Tom Laneover 26 years ago1 messagescommitters
Jump to latest
#1Tom Lane
tom_lane___@unknown.user

Date: Saturday, August 12, 2000 @ 22:50:03
Author: tgl

Update of /home/projects/pgsql/cvsroot/pgsql/src/backend/executor
from hub.org:/home/projects/pgsql/tmp/cvs-serv65720/src/backend/executor

Modified Files:
execProcnode.c nodeIndexscan.c nodeNestloop.c

----------------------------- Log Message -----------------------------

Clean up handling of variable-free qual clauses. System now does the
right thing with variable-free clauses that contain noncachable functions,
such as 'WHERE random() < 0.5' --- these are evaluated once per
potential output tuple. Expressions that contain only Params are
now candidates to be indexscan quals --- for example, 'var = ($1 + 1)'
can now be indexed. Cope with RelabelType nodes atop potential indexscan
variables --- this oversight prevents 7.0.* from recognizing some
potentially indexscanable situations.