pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Gierth <andrew@tao11.riddles.org.uk>
To: Kevin Grittner <kgrittn@gmail.com>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
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: Tue, 09 Aug 2016 16:18:10 +0100
Message-ID: <8737meashg.fsf@news-spur.riddles.org.uk> (raw)
In-Reply-To: <CACjxUsMT5OtjEYa5NrypmEs=5yAecTUm2qdypRXo5O8+tHiZ+g@mail.gmail.com>
References: <5278.1469628270@sss.pgh.pa.us>
	<20160808045358.GA877101@alvherre.pgsql>
	<CACjxUsMT5OtjEYa5NrypmEs=5yAecTUm2qdypRXo5O8+tHiZ+g@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

>>>>> "Kevin" == Kevin Grittner <kgrittn@gmail.com> writes:

 >>> 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?

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

Where'd be a good place to put that function? ruleutils? catalog/index.c ?

(ruleutils is way too big already)

-- 
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



view thread (69+ messages)  latest in thread

Message-ID: <8737meashg.fsf@news-spur.riddles.org.uk>
Permalink:  ../8737meashg.fsf@news-spur.riddles.org.uk/
Also on:    postgresql.org/message-id/8737meashg.fsf@news-spur.riddles.org.uk

 · 

reply

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, kgrittn@gmail.com, alvherre@2ndquadrant.com, tgl@sss.pgh.pa.us, sfrost@snowman.net, peter.eisentraut@2ndquadrant.com, robertmhaas@gmail.com
  Subject: Re: No longer possible to query catalogs for index capabilities?
  In-Reply-To: <8737meashg.fsf@news-spur.riddles.org.uk>
  References: <5278.1469628270@sss.pgh.pa.us> <20160808045358.GA877101@alvherre.pgsql> <CACjxUsMT5OtjEYa5NrypmEs=5yAecTUm2qdypRXo5O8+tHiZ+g@mail.gmail.com> <8737meashg.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