diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-10-06 16:01:55 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-10-06 16:01:55 +0000 |
commit | fa63749d2177c3bf700f10a3d297954328ddf3bf (patch) | |
tree | ce211dbc84647e3cba290364a1db0f6da5871447 /src/backend/parser/parse_relation.c | |
parent | e9f11c6b648a2237690cf6f7773112d6706232a2 (diff) | |
download | postgresql-fa63749d2177c3bf700f10a3d297954328ddf3bf.tar.gz postgresql-fa63749d2177c3bf700f10a3d297954328ddf3bf.zip |
Fix oversight in indexscan plan creation. I recently added code to use
predicate_implied_by() to detect redundant filter conditions, but forgot
that predicate_implied_by() assumes its first argument contains only
immutable functions. Add a check to guarantee that. Also, test to see
if filter conditions can be discarded because they are redundant with
the predicate of a partial index.
Diffstat (limited to 'src/backend/parser/parse_relation.c')
0 files changed, 0 insertions, 0 deletions