aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_relation.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-10-06 16:01:55 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-10-06 16:01:55 +0000
commitfa63749d2177c3bf700f10a3d297954328ddf3bf (patch)
treece211dbc84647e3cba290364a1db0f6da5871447 /src/backend/parser/parse_relation.c
parente9f11c6b648a2237690cf6f7773112d6706232a2 (diff)
downloadpostgresql-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