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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add error check for lossy distance functions in index-only scans
Date: 2015-05-23 20:24:35
Message-ID: E1YwFyF-0006zn-0v@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/f84c8601d604811a530dadb53ddb52f08639e72b

Modified Files
--------------
src/backend/executor/nodeIndexonlyscan.c | 13 +++++++++++++
1 file changed, 13 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2015-05-23 20:27:48 Re: [COMMITTERS] pgsql: Allow GiST distance function to return merely a lower-bound.
Previous Message Tom Lane 2015-05-23 20:05:56 pgsql: Fix incorrect snprintf() limit.