Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c7DBT-0002wq-Ke for pgsql-hackers@arkaria.postgresql.org; Thu, 17 Nov 2016 03:16:19 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1c7DBT-0001DK-5r for pgsql-hackers@arkaria.postgresql.org; Thu, 17 Nov 2016 03:16:19 +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_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1c7DA4-00082w-Er for pgsql-hackers@postgresql.org; Thu, 17 Nov 2016 03:14:52 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1c7DA1-0007dc-JP for pgsql-hackers@postgresql.org; Thu, 17 Nov 2016 03:14:51 +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 uAH3Elww029927; Wed, 16 Nov 2016 22:14:47 -0500 From: Tom Lane To: Robert Haas cc: "pgsql-hackers@postgresql.org" Subject: Re: pg_dump versus rules, once again In-reply-to: References: <19092.1479325184@sss.pgh.pa.us> <29254.1479351649@sss.pgh.pa.us> Comments: In-reply-to Robert Haas message dated "Wed, 16 Nov 2016 22:06:43 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <29925.1479352487.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Wed, 16 Nov 2016 22:14:47 -0500 Message-ID: <29926.1479352487@sss.pgh.pa.us> X-Pg-Spam-Score: -4.8 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Robert Haas writes: > On Wed, Nov 16, 2016 at 10:00 PM, Tom Lane wrote: >> The changes in pg_backup_archiver.c would have to be back-patched >> into all versions supporting --if-exists, so that they don't fail >> on dump archives produced by patched versions. > Even if you patch future minor releases, past minor releases are still > going to exist out there in the wild for a long, long time. Yeah, but it would only matter if you try to use pg_restore --clean --if-ex= ists with an archive file that happens to contain a view that has this issue. Such cases would previously have failed anyway, because of precisely the bug at issue ... and there aren't very many of them, or we'd have noticed the problem before. So I don't feel *too* bad about this, I just want to make sure we have a solution available. regards, tom lane --=20 Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers