Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dKpsp-0006dK-FD for pgsql-committers@arkaria.postgresql.org; Tue, 13 Jun 2017 17:45:39 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dKpsp-0000Z5-1e for pgsql-committers@arkaria.postgresql.org; Tue, 13 Jun 2017 17:45:39 +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 1dKpsZ-00088v-R8 for pgsql-committers@postgresql.org; Tue, 13 Jun 2017 17:45:23 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1dKpsP-0000Mb-F1 for pgsql-committers@postgresql.org; Tue, 13 Jun 2017 17:45:22 +0000 Received: from bruce by momjian.us with local (Exim 4.84_2) (envelope-from ) id 1dKpsO-0008Cg-I2; Tue, 13 Jun 2017 13:45:12 -0400 Date: Tue, 13 Jun 2017 13:45:12 -0400 From: Bruce Momjian To: Tom Lane Cc: pgsql-committers@postgresql.org Subject: Re: pgsql: Assert that we don't invent relfilenodes or type OIDs in binary Message-ID: <20170613174512.GL13873@momjian.us> References: <20170613172909.GJ13873@momjian.us> <8723.1497375574@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8723.1497375574@sss.pgh.pa.us> User-Agent: Mutt/1.5.23 (2014-03-12) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org On Tue, Jun 13, 2017 at 01:39:34PM -0400, Tom Lane wrote: > Bruce Momjian writes: > > Uh, is there a reason this is only an Assert(), meaning it only checks > > in assert builds. pg_upgrade already has a lot of checks and they are > > all fatal. > > Yeah, I didn't think it was worth adding overhead to production builds > for it. Uh, you realize there are already many pg_upgrade sanity checks in the backend that are not asserts, right? -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + As you are, so once was I. As I am, so you will be. + + Ancient Roman grave inscription + -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers