Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYMXu-0001rC-TI for pgsql-hackers@arkaria.postgresql.org; Sat, 13 Aug 2016 00:11:27 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bYMXu-0006Md-DS for pgsql-hackers@arkaria.postgresql.org; Sat, 13 Aug 2016 00:11:26 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bYMWX-0004UF-3O for pgsql-hackers@postgresql.org; Sat, 13 Aug 2016 00:10:01 +0000 Received: from lungold.riddles.org.uk ([82.68.208.19]) by makus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bYMWQ-0005un-03 for pgsql-hackers@postgresql.org; Sat, 13 Aug 2016 00:09:59 +0000 Received: from localhost ([127.0.0.1]:57905 helo=caithnard.riddles.org.uk) by lungold.riddles.org.uk with esmtp (Exim 4.84 (FreeBSD)) (envelope-from ) id 1bYMWM-000IDU-PS; Sat, 13 Aug 2016 00:09:50 +0000 From: Andrew Gierth To: Tom Lane Cc: Alvaro Herrera , Kevin Grittner , Stephen Frost , Peter Eisentraut , Robert Haas , "pgsql-hackers\@postgresql.org" Subject: Re: No longer possible to query catalogs for index capabilities? In-Reply-To: <12983.1471033567@sss.pgh.pa.us> (Tom Lane's message of "Fri, 12 Aug 2016 16:26:07 -0400") Message-ID: <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> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) Date: Sat, 13 Aug 2016 01:09:50 +0100 MIME-Version: 1.0 Content-Type: text/plain X-Pg-Spam-Score: -2.4 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org >>>>> "Tom" == Tom Lane 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