Re: Why is it OK for dbsize.c to look at relation files directly?

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Why is it OK for dbsize.c to look at relation files directly?
Дата
Msg-id 20190425001650.GB8552@paquier.xyz
обсуждение исходный текст
Ответ на Why is it OK for dbsize.c to look at relation files directly?  (Andres Freund <andres@anarazel.de>)
Ответы Re: Why is it OK for dbsize.c to look at relation files directly?  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On Wed, Apr 24, 2019 at 04:09:56PM -0700, Andres Freund wrote:
> I think we should change dbsize.c to call
> RelationGetNumberOfBlocksInFork() for relkinds != TABLE/TOAST/MATVIEW,
> and a new AM callback for those. Probably with the aforementioned
> additional logic of closing smgr references if they weren't open before
> the size computation.
>
> Imo this pretty clearly is v13 work.

Agreed that this is out of 12's scope.  Perhaps you should add a TODO
item for that?
--
Michael

Вложения

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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Why is it OK for dbsize.c to look at relation files directly?
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Why is it OK for dbsize.c to look at relation files directly?