Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bX8wh-0007lb-PB for pgsql-hackers@arkaria.postgresql.org; Tue, 09 Aug 2016 15:27:59 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bX8wh-00061d-3E for pgsql-hackers@arkaria.postgresql.org; Tue, 09 Aug 2016 15:27:59 +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 1bX8vL-0004Wl-5E for pgsql-hackers@postgresql.org; Tue, 09 Aug 2016 15:26:35 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bX8vI-0005pu-FE for pgsql-hackers@postgresql.org; Tue, 09 Aug 2016 15:26:34 +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 u79FQTiH024620; Tue, 9 Aug 2016 11:26:29 -0400 From: Tom Lane To: Andrew Gierth cc: Kevin Grittner , Alvaro Herrera , Stephen Frost , Peter Eisentraut , Robert Haas , "pgsql-hackers\@postgresql.org" 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> <8737meashg.fsf@news-spur.riddles.org.uk> Comments: In-reply-to Andrew Gierth message dated "Tue, 09 Aug 2016 16:18:10 +0100" Date: Tue, 09 Aug 2016 11:26:29 -0400 Message-ID: <24619.1470756389@sss.pgh.pa.us> X-Pg-Spam-Score: -2.3 (--) 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 Andrew Gierth 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