Re: add_missing_from breaks existing views - Mailing list pgsql-hackers

From Andrew - Supernews
Subject Re: add_missing_from breaks existing views
Date
Msg-id slrndlu1ev.g61.andrew+nonews@trinity.supernews.net
Whole thread Raw
In response to add_missing_from breaks existing views  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: add_missing_from breaks existing views
List pgsql-hackers
On 2005-10-26, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Andrew - Supernews <andrew+nonews@supernews.com> writes:
>> Wild idea: how about having pg_dump include SET add_missing_from = true;
>> in the dump file if, and only if, it is set that way in the server?
>
> Uh, no ... the global setting of add_missing_from does *not* tell you
> anything about whether there exist views in the database that were
> created under a different setting.

I realize that; but is it also not the case that someone who creates a
view that requires add_missing_from, and then turns it off, has _already_
broken dump+restore on his own database?

i.e. people who turn off add_missing_from intentionally are not likely to
be using it.

-- 
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services


pgsql-hackers by date:

Previous
From: Christopher Kings-Lynne
Date:
Subject: Re: Sequence dependencies
Next
From: Tom Lane
Date:
Subject: Re: Sequence dependencies