From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: pg_dump versus rules, once again
Date: Wed, 16 Nov 2016 22:14:47 -0500
Message-ID: <29926.1479352487@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+TgmoY5FH_EdUom98tqt=CNdmAS2AkM8zRv8Ru-T+diZZpEBQ@mail.gmail.com>
References: <19092.1479325184@sss.pgh.pa.us>
<29254.1479351649@sss.pgh.pa.us>
<CA+TgmoY5FH_EdUom98tqt=CNdmAS2AkM8zRv8Ru-T+diZZpEBQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
Robert Haas <robertmhaas@gmail.com> writes:
> On Wed, Nov 16, 2016 at 10:00 PM, Tom Lane <tgl@sss.pgh.pa.us> 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-exists
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
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, robertmhaas@gmail.com
Subject: Re: pg_dump versus rules, once again
In-Reply-To: <29926.1479352487@sss.pgh.pa.us>
References: <19092.1479325184@sss.pgh.pa.us> <29254.1479351649@sss.pgh.pa.us> <CA+TgmoY5FH_EdUom98tqt=CNdmAS2AkM8zRv8Ru-T+diZZpEBQ@mail.gmail.com> <29926.1479352487@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox