Re: pg_dump versus rules, once again - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_dump versus rules, once again
Date
Msg-id 29926.1479352487@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_dump versus rules, once again  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: pg_dump versus rules, once again
List pgsql-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



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Unlogged tables cleanup
Next
From: Kyotaro HORIGUCHI
Date:
Subject: Re: Document how to set up TAP tests for Perl 5.8.8