Re: pg_upgrade problem with invalid indexes
От | Bruce Momjian |
---|---|
Тема | Re: pg_upgrade problem with invalid indexes |
Дата | |
Msg-id | 20121207030702.GB31540@momjian.us обсуждение исходный текст |
Ответ на | Re: pg_upgrade problem with invalid indexes (Stephen Frost <sfrost@snowman.net>) |
Ответы |
Re: pg_upgrade problem with invalid indexes
|
Список | pgsql-hackers |
On Thu, Dec 6, 2012 at 09:45:11PM -0500, Stephen Frost wrote: > * Andrew Dunstan (andrew@dunslane.net) wrote: > > So we'll lose the index definition and leave some files behind? This > > sounds a bit messy to say the least. > > Agreed. > > > Making the user fix it seems much more sensible to me. Otherwise I > > suspect we'll find users who get strangely surprised when they can > > no longer find any trace of an expected index in their upgraded > > database. > > Or preserve it as-is. I don't really like the 'make them fix it' > option, as a user could run into that in the middle of a planned upgrade > that had been tested and never had that come up. They would get the warning during pg_upgrade --check, of course. -- Bruce Momjian <bruce@momjian.us> http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. +
В списке pgsql-hackers по дате отправления: