Re: add_missing_from breaks existing views
От | Andrew - Supernews |
---|---|
Тема | Re: add_missing_from breaks existing views |
Дата | |
Msg-id | slrndltjs8.g61.andrew+nonews@trinity.supernews.net обсуждение исходный текст |
Ответ на | add_missing_from breaks existing views (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: add_missing_from breaks existing views
|
Список | pgsql-hackers |
On 2005-10-25, Simon Riggs <simon@2ndquadrant.com> wrote: > On Tue, 2005-10-25 at 17:43 -0400, Tom Lane wrote: > >> 1. Tell people they may have to set add_missing_from = true to reload >> a dump that contains such views. >> >> 2. Revert the change to make add_missing_from default as false, and >> wait a few more releases before making it default. >> >> Comments? > > This needs to be (1). > > Whichever version we make the change for, there will always be a point > where the pg_dump would be taken with add_missing_from=true by default > and moving to new version with add_missing_from=false. Putting that off > for another release will still allow that failure condition to exist at > that later time: so we must tell people about it now. 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? Perhaps do this only for server versions <8.1... and ensure that dumps from an 8.1 server include the explicit table names... -- Andrew, Supernews http://www.supernews.com - individual and corporate NNTP services
В списке pgsql-hackers по дате отправления: