diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2000-08-13 02:50:35 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2000-08-13 02:50:35 +0000 |
commit | 37168b8da43d9a6f7471cf757119ece6c96fb2b9 (patch) | |
tree | ce7059e77ac05a045f9de7c6272c7e1c8210d96a /src/include/executor/nodeNestloop.h | |
parent | 766fb7f707f9527be219353f5f970aab3d786554 (diff) |
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.
Diffstat (limited to 'src/include/executor/nodeNestloop.h')
-rw-r--r-- | src/include/executor/nodeNestloop.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/executor/nodeNestloop.h b/src/include/executor/nodeNestloop.h index b1242b0da0d..42e3fae8335 100644 --- a/src/include/executor/nodeNestloop.h +++ b/src/include/executor/nodeNestloop.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: nodeNestloop.h,v 1.12 2000/01/26 05:58:05 momjian Exp $ + * $Id: nodeNestloop.h,v 1.13 2000/08/13 02:50:20 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -16,7 +16,7 @@ #include "nodes/plannodes.h" -extern TupleTableSlot *ExecNestLoop(NestLoop *node, Plan *parent); +extern TupleTableSlot *ExecNestLoop(NestLoop *node); extern bool ExecInitNestLoop(NestLoop *node, EState *estate, Plan *parent); extern int ExecCountSlotsNestLoop(NestLoop *node); extern void ExecEndNestLoop(NestLoop *node); |