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

From: Tom Lane <tgl>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src/backend/executor (nodeIndexscan.c)
Date: 2000-05-23 16:56:38
Message-ID: 200005231656.MAA49955@hub.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Date: Tuesday, May 23, 2000 @ 12:56:37
Author: tgl

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

Modified Files:
nodeIndexscan.c

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

Fix problem in which sloppily-coded test in ExecInitIndexScan would
think that both sides of indexqual look like index keys. An example is
create table inside (f1 float8 primary key);
create table outside (g1 float8, g2 float8);
select * from inside,outside where f1 = atan2(g1+1, g2);
ERROR: ExecInitIndexScan: both left and right ops are rel-vars
(note that failure is potentially platform-dependent). Solution is a
cleanup I had had in mind to make anyway: functional index keys should
be represented as Var nodes in the fixed indexqual, just like regular
index keys.

Browse pgsql-committers by date

  From Date Subject
Next Message Marc G. Fournier 2000-05-23 21:02:59 www/html/mhonarc/pgsql-fmgr (- New directory)
Previous Message Tom Lane 2000-05-23 16:56:37 pgsql/src/backend/optimizer/plan (createplan.c)