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 1gfWFj-0005Iy-83 for pgsql-hackers@arkaria.postgresql.org; Fri, 04 Jan 2019 20:39:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gfWFi-0005wn-02 for pgsql-hackers@arkaria.postgresql.org; Fri, 04 Jan 2019 20:39:34 +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 1gfWFh-0005wZ-Lk for pgsql-hackers@lists.postgresql.org; Fri, 04 Jan 2019 20:39:33 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gfWFf-0002CN-9M for pgsql-hackers@postgresql.org; Fri, 04 Jan 2019 20:39:32 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id D2D1C1559; Fri, 4 Jan 2019 15:39:29 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Fri, 04 Jan 2019 15:39:30 -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=elTcWkBCfUbUvXCElZICKkZUi/E Tv22l5nHS8q1i3NQ=; b=uK4lXwj1V3pZcw7S7003uLNh6bHJKhjVXQPZWdrHyzT G3iQWidt2zpIxZRWUMrskgyuwGPS1XqzfVeTN2DSCemE0vPSeFxCT1YgCXAW+W8H FJbx+dq4YMEN178xm7sfczQ3l12BwjktsK8jRuA12uTJJDUNQRO7iemP8Hpk6Wv6 W94XT9SS+6FoN1Uuc7xKOod6eIeUwQ5d1kbJ0HpGiYFB+1lhTCNKMGLv+9vlai8k vMuztt2fy7wZCGqgIXFMqMPeFlmMwjo6oHSdMBjQdmNGqnRGM3WSd6jhpk0LEqzg jeKVZ+3x9VSlpmbMziKiiHwvbkOL8o5uQS+YY19NMPw== 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=elTcWk BCfUbUvXCElZICKkZUi/ETv22l5nHS8q1i3NQ=; b=qndoYlyLg1Qmw7aq+1k2L7 nk5JwnCXCbIiD4Yl7hL351heZBVhKh3jKOJNuzT0lxRLHPeBY25YnqncA7nvMq+P ZXvgVq+J2MYDHJcBuUJkl2+wb5/hFD7isHYzS8KOukO0ifYJJUpTJAqknGLw/ljZ oCgPfGg7RSHz5UwfZbwGBQuSPq2KwyfSPSBkhXZKbrGga3/KY+sqNvZFV7R0ZrrV ZRDINcHik5QOOwXdvAx71YvbDJbu7ZpfRSYkxmqBRSLvnysnZjlIV9EWlfhTdYsE 12SF+2T7Sa+WfGKK69qYniYRa54yXFwl5oHxcbYiobmfva2tGQYWktEMJ/97AEhg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrvddugddugedvucdltddurdegtdekrddttd dmucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfquhht necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomheptehnughr vghsucfhrhgvuhhnugcuoegrnhgurhgvshesrghnrghrrgiivghlrdguvgeqnecukfhppe elkedrvddutddrudegtddrudejudenucfrrghrrghmpehmrghilhhfrhhomheprghnughr vghssegrnhgrrhgriigvlhdruggvnecuvehluhhsthgvrhfuihiivgeptd 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 7B581100E5; Fri, 4 Jan 2019 15:39:28 -0500 (EST) Date: Fri, 4 Jan 2019 12:39:26 -0800 From: Andres Freund To: Tom Lane Cc: PostgreSQL Hackers Subject: Re: pgsql: Remove WITH OIDS support, change oid catalog column visibility. Message-ID: <20190104203926.evck47fge5ugjwh7@alap3.anarazel.de> References: <20181121082042.GA15795@msg.df7cb.de> <74aafd48-1a2a-37fb-aab8-ffaed70a2b0f@2ndquadrant.com> <31665.1546540842@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <31665.1546540842@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, 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". Makes sense, I (or a colleague) will look into that next week. Wanna get my head out of pluggable storage first... Greetings, Andres Freund