Re: BUG #13442: ISBN doesn't always roundtrip with text
От | Tom Lane |
---|---|
Тема | Re: BUG #13442: ISBN doesn't always roundtrip with text |
Дата | |
Msg-id | 17091.1438033021@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: BUG #13442: ISBN doesn't always roundtrip with text (Fabien COELHO <coelho@cri.ensmp.fr>) |
Ответы |
Re: BUG #13442: ISBN doesn't always roundtrip with text
|
Список | pgsql-bugs |
Fabien COELHO <coelho@cri.ensmp.fr> writes: > The usual exit strategy is: > DROP TYPE isbn CASCADE; > Which works fine... but as a side effect silently remove ISBN columns that > may exist in user table. I do not think it is a good idea for an extension > update script to do that to a librarian:-) Certainly. > Bar any idea around this issue, I think that an extension upgrade script > is really unadvisable, and the user should do a dump data, drop extension, > create extension, restore data. AFAICS, that isn't exactly an improvement. You're telling the user "if you have an ISBN column, you're screwed, and we are going to make it as painful as it can possibly be to get out of that situation". I think we'd be better off trying to migrate to a situation where these type names all still exist but they all act like ISBN13. I'm not sure what the stages on that journey are. regards, tom lane
В списке pgsql-bugs по дате отправления: