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 1gjBnQ-0000Gr-8x for pgsql-hackers@arkaria.postgresql.org; Mon, 14 Jan 2019 23:37:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gjBnO-0006iz-PD for pgsql-hackers@arkaria.postgresql.org; Mon, 14 Jan 2019 23:37:30 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gjBnM-0006iT-Om for pgsql-hackers@lists.postgresql.org; Mon, 14 Jan 2019 23:37:30 +0000 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gjBnF-0008WK-8s for pgsql-hackers@postgresql.org; Mon, 14 Jan 2019 23:37:27 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id CEA1920C1; Mon, 14 Jan 2019 18:37:19 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Mon, 14 Jan 2019 18:37:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=pTR6zUyHoCm2/leJNfvgj7UjjvG ZVGSgIsyxmIfT3r0=; b=r464kVyrYgdl+8ZLIIN+/qi3AjhrYPB2iCik9NePkDn vlWGXFsHnrxv7ylunITSreKe8Ci3HCRUAP+rDdFfrdzURgxeXmdrVHF6VOrIP3lA Dl3nMrMZSQU6cPaE8pcPdomVmhe233EzE4oXc13fErgh8YUzfCxeKYrmM3FI/ntP 6FcIXa6h1/9Rcpwq1i8vrRj1CyDFNC3XkqvCs3lZ0KrvdFkQoI4t2mPAl8R876ig GEAdVHWLrMID5tAI622eaeZnhh43FcDOUAlfN3lXXIVAmjKyaNsV3kr7H6Q8Pch4 N1fCcynLBMqu2IqPNUUAbG5F2n1dcW3qeWaa1Ta3vbA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=pTR6zU yHoCm2/leJNfvgj7UjjvGZVGSgIsyxmIfT3r0=; b=qM/0bGHyyHZ1chxZwO8a+L dAKYEEKX97QRvoKoqSf1x5Xf3UtoGU7ThKjyVXUMh9Mr05pjpOoGSOQL6DFo5M+4 2WDdiNLJL6RrQAdIXBRDaJTpburCvWGgZ5WdYfkzTw8cJWrd8DOIs4t16EWQse76 K1cyWQbVWBKDt/6iAhvOhjxSbdVvbW3ebp/ve9QCfrw9S2EozcJNC+Iin+f98gKs GBH2s/g4TwpdbA8zZc/TUTIid2HazR90R9oz6ZR0kApQ7GPOgY7Wwhxh9Eykt6Ze C0036o83FHn6qC5+kD0U2+MlvZbJHzGRim5vmuXboBxnsBIuHnvt6dsI/PDUzoAg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrgedvgddutdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthenuceurghilhhouhhtmecufedt tdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepfffhvffukfhfgg gtuggjsehttdertddttddvnecuhfhrohhmpeetnhgurhgvshcuhfhrvghunhguuceorghn ughrvghssegrnhgrrhgriigvlhdruggvqeenucfkphepleekrddvuddtrddugedtrdduje dunecurfgrrhgrmhepmhgrihhlfhhrohhmpegrnhgurhgvshesrghnrghrrgiivghlrdgu vgenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from intern.anarazel.de (c-98-210-140-171.hsd1.ca.comcast.net [98.210.140.171]) by mail.messagingengine.com (Postfix) with ESMTPA id 3BA02E4043; Mon, 14 Jan 2019 18:37:18 -0500 (EST) Date: Mon, 14 Jan 2019 15:37:14 -0800 From: Andres Freund To: Amit Khandekar Cc: Tom Lane , PostgreSQL Hackers Subject: Re: pgsql: Remove WITH OIDS support, change oid catalog column visibility. Message-ID: <20190114233714.mi77d2p25juwpyjx@alap3.anarazel.de> References: <20181121082042.GA15795@msg.df7cb.de> <74aafd48-1a2a-37fb-aab8-ffaed70a2b0f@2ndquadrant.com> <31665.1546540842@sss.pgh.pa.us> <20190104203926.evck47fge5ugjwh7@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, On 2019-01-07 17:03:20 +0530, Amit Khandekar wrote: > On Sat, 5 Jan 2019 at 02:09, Andres Freund wrote: > > On 2019-01-03 13:40:42 -0500, Tom Lane wrote: > > > I noticed that this patch has broken restores of existing dump files: > > > > > > psql:testbed.public.backup:82: ERROR: unrecognized configuration parameter "default_with_oids" > > > > > > Quite aside from the fact that this won't work if the user tries to > > > restore in single-transaction or no-error mode, this is really really > > > unhelpful because it's impossible to tell whether the error is > > > ignorable or not, except by digging through the dump file. > > > > > > What you should do is restore that GUC, but add a check-hook that throws > > > an error for an attempt to set it to "true". > > Attached is a patch that does this. Thanks! I've pushed this, after some minor editorialization (hiding the GUC, shortened description, shortened error message). Regards, Andres