From: Andrew Gierth <andrew@tao11.riddles.org.uk>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Kevin Grittner <kgrittn@gmail.com>
Cc: Stephen Frost <sfrost@snowman.net>
Cc: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-hackers\@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: No longer possible to query catalogs for index capabilities?
Date: Sat, 13 Aug 2016 01:09:50 +0100
Message-ID: <87shu9mtan.fsf@news-spur.riddles.org.uk> (raw)
In-Reply-To: <12983.1471033567@sss.pgh.pa.us>
References: <20160809155623.GA567087@alvherre.pgsql>
<87y445ap58.fsf@news-spur.riddles.org.uk>
<87a8gkr8fu.fsf@news-spur.riddles.org.uk>
<17563.1470843700@sss.pgh.pa.us>
<8737mcr3vn.fsf@news-spur.riddles.org.uk>
<30901.1470868017@sss.pgh.pa.us>
<87fuq9oo12.fsf@news-spur.riddles.org.uk>
<9594.1471028028@sss.pgh.pa.us>
<87y441n4q8.fsf@news-spur.riddles.org.uk>
<12983.1471033567@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
>>>>> "Tom" == Tom Lane <tgl@sss.pgh.pa.us> writes:
Tom> But we need to be clear in the documentation about what this
Tom> property actually means. My objection to having it answer at the
Tom> index or column level is basically that that encourages confusion
Tom> as to what it means.
OK. Here's new output with the scope changes, and some of the names
changed in an attempt to make them clearer:
cap | AM | Index | Column
--------------------+----+-------+--------
asc | | | t
desc | | | f
nulls_first | | | f
nulls_last | | | t
orderable | | | t
distance_orderable | | | f
returnable | | | t
search_array | | | t
search_nulls | | | t
clusterable | | t |
backward_scan | | t |
index_scan | | t |
bitmap_scan | | t |
can_order | t | |
can_unique | t | |
can_multi_col | t | |
can_exclude | t | |
(17 rows)
(The can_* names are reserved for the AM level where we're asking about
the abstract capabilities of the AM.)
Better? Worse? Any more improvements to the names?
--
Andrew (irc:RhodiumToad)
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: andrew@tao11.riddles.org.uk, tgl@sss.pgh.pa.us, alvherre@2ndquadrant.com, kgrittn@gmail.com, sfrost@snowman.net, peter.eisentraut@2ndquadrant.com, robertmhaas@gmail.com
Subject: Re: No longer possible to query catalogs for index capabilities?
In-Reply-To: <87shu9mtan.fsf@news-spur.riddles.org.uk>
References: <20160809155623.GA567087@alvherre.pgsql> <87y445ap58.fsf@news-spur.riddles.org.uk> <87a8gkr8fu.fsf@news-spur.riddles.org.uk> <17563.1470843700@sss.pgh.pa.us> <8737mcr3vn.fsf@news-spur.riddles.org.uk> <30901.1470868017@sss.pgh.pa.us> <87fuq9oo12.fsf@news-spur.riddles.org.uk> <9594.1471028028@sss.pgh.pa.us> <87y441n4q8.fsf@news-spur.riddles.org.uk> <12983.1471033567@sss.pgh.pa.us> <87shu9mtan.fsf@news-spur.riddles.org.uk>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox