Add error check for lossy distance functions in index-only scans.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: f84c8601d604811a530dadb53ddb52f08639e72b
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2015-05-23T20:24:31Z
Releases: 9.5.0
Add error check for lossy distance functions in index-only scans.

Maybe we should actually support this, but for the moment let's just
throw an error if the opclass tries it.

Files

PathChange+/−
src/backend/executor/nodeIndexonlyscan.c modified +13 −0