Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h2F37-0006IJ-NY for pgsql-hackers@arkaria.postgresql.org; Fri, 08 Mar 2019 12:56:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h2F35-0006lb-3k for pgsql-hackers@arkaria.postgresql.org; Fri, 08 Mar 2019 12:56:27 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1h2F34-0006Zr-Qz for pgsql-hackers@lists.postgresql.org; Fri, 08 Mar 2019 12:56:26 +0000 Received: from ping.uio.no ([2001:700:100:570::196]) by magus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h2F32-0007e3-1K for pgsql-hackers@postgresql.org; Fri, 08 Mar 2019 12:56:26 +0000 Received: from [2001:700:100:570::211] (helo=dalvik.ping.uio.no ident=Debian-exim) by ping.uio.no with esmtp (Exim 4.72 #1 (Debian)) id 1h2F2u-0003Vb-ET; Fri, 08 Mar 2019 13:56:18 +0100 Received: from ilmari by dalvik.ping.uio.no with local (Exim 4.84_2) (envelope-from ) id 1h2F2u-0002fi-6f; Fri, 08 Mar 2019 13:56:16 +0100 From: ilmari@ilmari.org (Dagfinn Ilmari =?utf-8?Q?Manns=C3=A5ker?=) To: Andres Freund Cc: Robert Haas , David Rowley , Alvaro Herrera , Haribabu Kommi , Asim R P , Pg Hackers , Ashwin Agrawal , Dmitry Dolgov <9erthalion6@gmail.com>, Alexander Korotkov , Heikki Linnakangas Subject: Re: Pluggable Storage - Andres's take References: <20181127015557.unah7opawwrvr3us@alap3.anarazel.de> <20181211021340.mqaown4njtcgrjvr@alap3.anarazel.de> <20190121030115.unoxypsx3dxosyeg@alap3.anarazel.de> <20190227172931.vxg4kuu7gjcwgz76@alap3.anarazel.de> <20190306070721.dd34u7g7ogtlvf7n@alap3.anarazel.de> <20190306193324.5gubgbbs6rnaacgv@alap3.anarazel.de> <20190306231155.zu6meo7g2pfgieyi@alap3.anarazel.de> <20190307174916.haalz6gcg6a7e5ks@alap3.anarazel.de> Mail-Copies-To: nobody Date: Fri, 08 Mar 2019 12:56:15 +0000 In-Reply-To: <20190307174916.haalz6gcg6a7e5ks@alap3.anarazel.de> (Andres Freund's message of "Thu, 7 Mar 2019 09:49:16 -0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Exiscan-Spam-Score: -3.7 (---) X-Exiscan-Spam-Report: SpamAssassin 3.3.1 (2010-03-16) on pike.ping.uio.no Score Rule * -5.0 PING_UIO_MAIL_IS_INTERNAL Message has never been outside * 129.240.0.0/16 or 193.157.115.0/24 * 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Andres Freund writes: > On 2019-03-07 08:52:21 -0500, Robert Haas wrote: >> On Wed, Mar 6, 2019 at 6:11 PM Andres Freund wrote: >> > slot that's compatible with the "target" table. You can get compatible >> > slot callbakcs by calling table_slot_callbacks(), or directly create one >> > by calling table_gimmegimmeslot() (likely to be renamed :)). >> >> Hmm. I assume the issue is that table_createslot() was already taken >> for another purpose, so then when you needed another callback you went >> with table_givemeslot(), and then when you needed a third API to do >> something in the same area the best thing available was >> table_gimmeslot(), which meant that the fourth API could only be >> table_gimmegimmeslot(). >> >> Does that sound about right? > > It was 3 AM, and I thought it was hilarious... ♫ Gimme! Gimme! Gimme! A slot after midnight ♫ - ilmari (SCNR) -- "I use RMS as a guide in the same way that a boat captain would use a lighthouse. It's good to know where it is, but you generally don't want to find yourself in the same spot." - Tollef Fog Heen