From: Tom Lane <tgl@sss.pgh.pa.us>
To: Greg Stark <gsstark@gmail.com>
Cc: pgsql-bugs@postgresql.org
Cc: Daniel Cristian Cruz <danielcristian@gmail.com>
Subject: Re: Re: BUG #6050: Dump and restore of view after a schema change: can't restore the view
Date: Tue, 07 Jun 2011 16:07:51 -0400
Message-ID: <19430.1307477271@sss.pgh.pa.us> (raw)
In-Reply-To: <BANLkTimaG0dD13SD-t5+MFPYkWAyB2OjSw@mail.gmail.com>
References: <201106031238.p53CcA8P075374@wwwmaster.postgresql.org>
<27042.1307113140@sss.pgh.pa.us>
<BANLkTiku=BUgreu-ksHooRdgBtLDZJOP7Q@mail.gmail.com>
<BANLkTi=LjpFomFKwXUwkTbd5jUkJh52V6Q@mail.gmail.com>
<12928.1307457185@sss.pgh.pa.us>
<BANLkTimaG0dD13SD-t5+MFPYkWAyB2OjSw@mail.gmail.com>
Greg Stark <gsstark@gmail.com> writes:
> A lot of work has gone into making pg_dump/pg_restore guarantee that
> they'll always produce a copy of the database, even if you've done odd
> things like change the lower bounds of your arrays. A lot of this was
> from before the days of PITR when pg_dump/pg_restore was the *only*
> backup option and it was considered absolutely essential that they
> always work. But even today I think it's still a goal that pg_dump
> always dump a loadable database.
Well, pg_upgrade still depends on pg_dump being a 100% solution for DDL,
so I don't think the requirements have gone down any ...
> I had in mind for pg_dump to decide to use the non-standard syntax iff
> it was necessary at dump time.
Maybe. I'm concerned about the cost of determining whether it's
necessary ("cost" meaning both "runtime" and "code complexity").
regards, tom lane
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-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, gsstark@gmail.com, danielcristian@gmail.com
Subject: Re: BUG #6050: Dump and restore of view after a schema change: can't restore the view
In-Reply-To: <19430.1307477271@sss.pgh.pa.us>
References: <201106031238.p53CcA8P075374@wwwmaster.postgresql.org> <27042.1307113140@sss.pgh.pa.us> <BANLkTiku=BUgreu-ksHooRdgBtLDZJOP7Q@mail.gmail.com> <BANLkTi=LjpFomFKwXUwkTbd5jUkJh52V6Q@mail.gmail.com> <12928.1307457185@sss.pgh.pa.us> <BANLkTimaG0dD13SD-t5+MFPYkWAyB2OjSw@mail.gmail.com> <19430.1307477271@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