Re: Statistics Import and Export
От | Jeff Davis |
---|---|
Тема | Re: Statistics Import and Export |
Дата | |
Msg-id | cea2d432215847a1d5cef1422ad1b21814f3f73b.camel@j-davis.com обсуждение исходный текст |
Ответ на | Re: Statistics Import and Export (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: Statistics Import and Export
|
Список | pgsql-hackers |
On Sat, 2024-03-30 at 13:18 -0400, Tom Lane wrote: > Surely they are data, not schema. It would make zero sense to > restore > them if you aren't restoring the data they describe. The complexity is that pg_upgrade does create the data, but relies on a schema-only dump. So we'd need to at least account for that somehow, either with a separate stats-only dump, or make a special case in binary upgrade mode that dumps schema+stats (and resolves the CREATE INDEX issue). > Maybe we need to revisit CREATE INDEX's behavior rather > than assuming it's graven in stone? Would there be a significant cost to just not doing that? Or are you suggesting that we special-case the behavior, or turn it off during restore with a GUC? Regards, Jeff Davis
В списке pgsql-hackers по дате отправления: