From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Gierth <andrew@tao11.riddles.org.uk>
Cc: Kevin Grittner <kgrittn@gmail.com>
Cc: Alvaro Herrera <alvherre@2ndquadrant.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: Tue, 09 Aug 2016 11:26:29 -0400
Message-ID: <24619.1470756389@sss.pgh.pa.us> (raw)
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>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
Andrew Gierth <andrew@tao11.riddles.org.uk> writes:
> Where'd be a good place to put that function? ruleutils? catalog/index.c ?
> (ruleutils is way too big already)
Agreed. catalog/index.c is not a place that implements SQL-visible
functions, so I don't like that either.
One idea is utils/adt/misc.c. Or we could make a new file under
utils/adt/ though I'm not very sure what to name it. amaccess.c?
catutils.c? If there's only ever likely to be one or two functions
of this ilk, maybe a new file is overkill and we should just use misc.c.
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
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: tgl@sss.pgh.pa.us, andrew@tao11.riddles.org.uk, kgrittn@gmail.com, alvherre@2ndquadrant.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: <24619.1470756389@sss.pgh.pa.us>
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> <24619.1470756389@sss.pgh.pa.us>
* 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