Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWklq-000341-MC for pgsql-hackers@arkaria.postgresql.org; Mon, 08 Aug 2016 13:39:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bWklq-0005Fk-8M for pgsql-hackers@arkaria.postgresql.org; Mon, 08 Aug 2016 13:39:10 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bWklp-0005Fe-RS for pgsql-hackers@postgresql.org; Mon, 08 Aug 2016 13:39:09 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bWkli-0002Bx-N7 for pgsql-hackers@postgresql.org; Mon, 08 Aug 2016 13:39:09 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u78DcwJ4009722; Mon, 8 Aug 2016 09:38:58 -0400 From: Tom Lane To: Alvaro Herrera cc: Stephen Frost , Peter Eisentraut , Andrew Gierth , Robert Haas , "pgsql-hackers@postgresql.org" Subject: Re: No longer possible to query catalogs for index capabilities? In-reply-to: <20160808045358.GA877101@alvherre.pgsql> References: <20160808045358.GA877101@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Mon, 08 Aug 2016 00:53:58 -0400" Date: Mon, 08 Aug 2016 09:38:58 -0400 Message-ID: <9721.1470663538@sss.pgh.pa.us> 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 Alvaro Herrera writes: > Tom Lane 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? Well, the next step is to fill in the blanks: what properties need to be queryable? regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers