Re: Statistics Import and Export

Поиск
Список
Период
Сортировка
От Greg Sabino Mullane
Тема Re: Statistics Import and Export
Дата
Msg-id CAKAnmmJ5S48AYbf0g+zjni+-mCHqstrE6kULsFFsv1MhuOL5iA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Statistics Import and Export  (Jeff Davis <pgsql@j-davis.com>)
Ответы Re: Statistics Import and Export
Список pgsql-hackers
On Thu, May 22, 2025 at 2:52 PM Jeff Davis <pgsql@j-davis.com> wrote:
 * The default for pg_restore is --no-statistics. That could cause a minor surprise if the user specifies --with-statistics for pg_dump and
not for pg_restore. An argument could be made that "if the stats are there, restore them", and I don't have a strong opinion about this point, but defaulting to --no-statistics seems more consistent with pg_dump.

Hm...somewhat to my own surprise, I don't like this. If it's in the dump, restore it.

Cheers,
Greg

--
Enterprise Postgres Software Products & Tech Support

В списке pgsql-hackers по дате отправления: