Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fMKYu-0003Bv-Jr for pgsql-hackers@arkaria.postgresql.org; Fri, 25 May 2018 21:47:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fMKYt-0001dW-EX for pgsql-hackers@arkaria.postgresql.org; Fri, 25 May 2018 21:47:47 +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.89) (envelope-from ) id 1fMKYt-0001dI-48 for pgsql-hackers@lists.postgresql.org; Fri, 25 May 2018 21:47:47 +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.89) (envelope-from ) id 1fMKYq-0001vO-DG for pgsql-hackers@postgresql.org; Fri, 25 May 2018 21:47:45 +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 w4PLlbGC015666; Fri, 25 May 2018 17:47:37 -0400 From: Tom Lane To: Andres Freund cc: Alvaro Herrera , pgsql-hackers@postgresql.org, Maxim Boguk , Peter Geoghegan , Jeremy Finzel Subject: Re: found xmin from before relfrozenxid on pg_catalog.pg_authid In-reply-to: <20180525203736.crkbg36muzxrjj5e@alap3.anarazel.de> References: <20180524205820.quhhnn3n2ag5yryb@alap3.anarazel.de> <20180524211311.tnswfnjwnii54htx@alvherre.pgsql> <20180525203736.crkbg36muzxrjj5e@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Fri, 25 May 2018 13:37:36 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <15664.1527284857.1@sss.pgh.pa.us> Date: Fri, 25 May 2018 17:47:37 -0400 Message-ID: <15665.1527284857@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Andres Freund writes: > Moving discussion to -hackers. Tom, I think you worked most with this > code, your input would be appreciated. Yeah, the assumption in the relcache is that the only part of a nailed catalog's relcache entry that really needs to be updated intrasession is the relfilenode mapping. For nailed indexes, we allow updating of some additional fields, and I guess what has to happen here is that we teach the code to update some additional fields for nailed tables too. regards, tom lane