aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistget.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2000-05-23 16:56:37 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2000-05-23 16:56:37 +0000
commit1c5b902018bc3b045e933817603ccdb7c0205c48 (patch)
tree73bb2303dfe593baa59cb107e3a435d4f7add3a6 /src/backend/access/gist/gistget.c
parent1c8244ec678dc4c2dffdcffd5cb51c04e9fc5dfc (diff)
downloadpostgresql-1c5b902018bc3b045e933817603ccdb7c0205c48.tar.gz
postgresql-1c5b902018bc3b045e933817603ccdb7c0205c48.zip
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.
Diffstat (limited to 'src/backend/access/gist/gistget.c')
0 files changed, 0 insertions, 0 deletions