Re: Statistics Import and Export

Поиск
Список
Период
Сортировка
От Corey Huinker
Тема Re: Statistics Import and Export
Дата
Msg-id CADkLM=dtc9jyvCZ+BkQGj4mP3DjKiT3XTWJ39ZiQwW-o+6ob2Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Statistics Import and Export  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Independently of that, do we want to switch over to storing
reltuples as a string instead of converting it?  I still feel
uncomfortable about the amount of baggage we added to pg_dump
to avoid that.

I'm obviously a 'yes' vote for string, either fixed width buffer or pg_strdup'd, for the reduced complexity. I'm not dismissing concerns about memory usage, and we could free the RelStatsInfo structure after use, but we're already not freeing the parent structures tbinfo or indxinfo, probably because they're needed right up til the end of the program, and there's no subsequent consumer for the memory that we'd be freeing up.
 

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