Re: Fast default stuff versus pg_upgrade
От | Tom Lane |
---|---|
Тема | Re: Fast default stuff versus pg_upgrade |
Дата | |
Msg-id | 15540.1529597068@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: Fast default stuff versus pg_upgrade (Andrew Dunstan <andrew.dunstan@2ndquadrant.com>) |
Ответы |
Re: Fast default stuff versus pg_upgrade
Re: Fast default stuff versus pg_upgrade |
Список | pgsql-hackers |
Andrew Dunstan <andrew.dunstan@2ndquadrant.com> writes: > Patch after pgindent attached. This will involve a catversion bump since > we're adding a new function. This isn't really ready to go. One clear problem is that you broke pg_dump'ing from any pre-v11 version, because you did not add suitable null outputs to the pre-v11 query variants in getTableAttrs. Personally, I'd have made the pg_dump changes simpler and cheaper by storing only one new value per column not two. You could have just stored attmissingval, or if you want to be paranoid you could do case when atthasmissing then attmissingval else null end We could do without the unrelated whitespace changes in dumpDefaultACL, too (or did pgindent introduce those? Seems surprising ... oh, looks like "type" has somehow snuck into typedefs.list. Time for another blacklist entry.) In dumpTableSchema, I'd suggest emitting the numeric table OID, rather than hacking around with regclass. regards, tom lane
В списке pgsql-hackers по дате отправления: