Re: Covering GiST indexes

From: Andreas Karlsson <andreas(at)proxel(dot)se>
To: Andrey Borodin <x4mmm(at)yandex-team(dot)ru>
Cc: Dmitry Dolgov <9erthalion6(at)gmail(dot)com>, Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>, Teodor Sigaev <teodor(at)sigaev(dot)ru>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Covering GiST indexes
Date: 2019-01-29 17:02:47
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On 29/01/2019 18.00, Andreas Karlsson wrote:
> Thanks for the new version of the patch. Based on my knowledge of PG
> this is starting to look good, and I have only three small comments below.

Sorry, I missed retree in the tests. Can you fix the below to match the
gist example?

CREATE INDEX on tbl USING rtree(c1, c2) INCLUDE (c3, c4);
NOTICE: substituting access method "gist" for obsolete method "rtree"
-ERROR: access method "gist" does not support included columns
+ERROR: data type integer has no default operator class for access
method "gist"
+HINT: You must specify an operator class for the index or define a
default operator class for the data type.
+CREATE INDEX on tbl USING rtree(c4) INCLUDE (c1, c4);


In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Dmitry Belyavsky 2019-01-29 17:43:07 Ltree syntax improvement
Previous Message Andreas Karlsson 2019-01-29 17:00:29 Re: Covering GiST indexes