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 1hrmGK-0000OL-V1 for pgsql-hackers@arkaria.postgresql.org; Sun, 28 Jul 2019 16:43:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hrmGJ-0005tN-QA for pgsql-hackers@arkaria.postgresql.org; Sun, 28 Jul 2019 16:43:07 +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 1hrmGJ-0005pv-FW for pgsql-hackers@lists.postgresql.org; Sun, 28 Jul 2019 16:43:07 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hrmGH-0001mG-Cd for pgsql-hackers@lists.postgresql.org; Sun, 28 Jul 2019 16:43:07 +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 x6SGgxe3009496; Sun, 28 Jul 2019 12:42:59 -0400 From: Tom Lane To: Andres Freund cc: Michael Paquier , Alvaro Herrera , Julien Rouhaud , Peter Eisentraut , Thomas Munro , Daniel Verite , PostgreSQL Hackers , Kevin Grittner Subject: Re: Add parallelism and glibc dependent only options to reindexdb In-reply-to: <20190728163418.bolniw34m7u3dhio@alap3.anarazel.de> References: <27884.1563811033@sss.pgh.pa.us> <20190722170532.GA26019@alvherre.pgsql> <20190728072813.GB2029@paquier.xyz> <25197.1564322847@sss.pgh.pa.us> <20190728163418.bolniw34m7u3dhio@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Sun, 28 Jul 2019 09:34:18 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <9494.1564332179.1@sss.pgh.pa.us> Date: Sun, 28 Jul 2019 12:42:59 -0400 Message-ID: <9495.1564332179@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Andres Freund writes: > On 2019-07-28 10:07:27 -0400, Tom Lane wrote: >> In the long run, might we ever switch to 64-bit OIDs? I dunno. > Depends on the the table, I'd say. Having toast tables have 64bit ids, > and not advance the oid counter, would be quite the advantage over the > current situation. Toasting performance craters once the oid counter has > wrapped. But obviously there are upgrade problems there - presumably > we'd need 'narrow" and 'wide' toast tables, or such. Yeah, but I'd be inclined to fix toast tables as a special case, rather than widening OIDs in general. We could define the chunk number as being int8 not OID for the "wide" style. regards, tom lane