Re: No longer possible to query catalogs for index capabilities? - Mailing list pgsql-hackers

From Kevin Grittner
Subject Re: No longer possible to query catalogs for index capabilities?
Date
Msg-id CACjxUsMT5OtjEYa5NrypmEs=5yAecTUm2qdypRXo5O8+tHiZ+g@mail.gmail.com
Whole thread Raw
In response to Re: No longer possible to query catalogs for index capabilities?  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: No longer possible to query catalogs for index capabilities?  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
List pgsql-hackers
On Sun, Aug 7, 2016 at 11:53 PM, Alvaro Herrera
<alvherre@2ndquadrant.com> wrote:

>> Building on the has-property approach Andrew suggested, I wonder if
>> we need something like pg_index_column_has_property(indexoid, colno,
>> propertyname) with properties like "sortable", "desc", "nulls first".
>
> This seems simple enough, on the surface.  Why not run with this design?

Andrew's patch, plus this, covers everything I can think of.

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Parallel tuplesort, partitioning, merging, and the future
Next
From: Bruce Momjian
Date:
Subject: Re: Heap WARM Tuples - Design Draft