Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bZ6MO-00025q-Sp for pgsql-hackers@arkaria.postgresql.org; Mon, 15 Aug 2016 01:06:36 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bZ6MO-0001b4-FG for pgsql-hackers@arkaria.postgresql.org; Mon, 15 Aug 2016 01:06:36 +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 1bZ6L0-0008Nh-OE for pgsql-hackers@postgresql.org; Mon, 15 Aug 2016 01:05:10 +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 1bZ6Kx-0005jW-E4 for pgsql-hackers@postgresql.org; Mon, 15 Aug 2016 01:05:10 +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 u7F14veW020320; Sun, 14 Aug 2016 21:04:57 -0400 From: Tom Lane To: Andres Freund cc: Robert Haas , Dmitry Dolgov <9erthalion6@gmail.com>, Aleksander Alekseev , Tomas Vondra , Pavel Stehule , PostgreSQL Hackers , David Steele Subject: Re: [Patch] Temporary tables that do not bloat pg_catalog (a.k.a fast temp tables) In-reply-to: <20160815005755.gswdyjfob7dzw4yp@alap3.anarazel.de> References: <1184.1469890030@sss.pgh.pa.us> <5cdc3fde-d6a5-f0d2-b930-485bdcaecde5@2ndquadrant.com> <20160801124531.66cde374@fujitsu> <26c3bc60-6613-e7ab-517a-53136f01fb6c@2ndquadrant.com> <13191.1470072250@sss.pgh.pa.us> <20160804151451.6fb87507@fujitsu> <14212.1470595566@sss.pgh.pa.us> <20160815005755.gswdyjfob7dzw4yp@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Sun, 14 Aug 2016 17:57:55 -0700" Date: Sun, 14 Aug 2016 21:04:57 -0400 Message-ID: <20319.1471223097@sss.pgh.pa.us> X-Pg-Spam-Score: -2.5 (--) 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 Andres Freund writes: > On 2016-08-07 14:46:06 -0400, Tom Lane wrote: >> Robert Haas writes: >>> I think the whole idea of a fast temporary table is that there are no >>> catalog entries. If there are no catalog entries, then dependencies >>> are not visible. If there ARE catalog entries, to what do they refer? >>> Without a pg_class entry for the table, there's no table OID upon >>> which to depend. >> TBH, I think that the chances of such a design getting committed are >> not distinguishable from zero. Tables have to have OIDs; there is just >> too much code that assumes that. And I seriously doubt that it will >> work (for any large value of "work") without catalog entries. > That seems a bit too defeatist. Huh? I didn't say we shouldn't work on the problem --- I just think that this particular approach isn't good. Which you seemed to agree with. 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