Jeff Davis <pg...@j-davis.com> writes: > This re-raises the question of whether stats are part of a schema-only > dump or not. Did we settle conclusively that they are?
Surely they are data, not schema. It would make zero sense to restore them if you aren't restoring the data they describe. Hence, it'll be a bit messy if we can't put them in the dump's DATA section. Maybe we need to revisit CREATE INDEX's behavior rather than assuming it's graven in stone? regards, tom lane