Re: Higher level questions around shared memory stats

Поиск
Список
Период
Сортировка
Искать
От
Andres Freund
Тема
Re: Higher level questions around shared memory stats
Дата
Msg-id
20220331210416.25lvwh5bf5gbu22y@alap3.anarazel.de
Ответ на
Список
Дерево обсуждения
Higher level questions around shared memory stats Andres Freund <andres@anarazel.de>
Re: Higher level questions around shared memory stats Andres Freund <andres@anarazel.de>
Re: Higher level questions around shared memory stats Andres Freund <andres@anarazel.de>
Re: Higher level questions around shared memory stats Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: Higher level questions around shared memory stats Andres Freund <andres@anarazel.de>
Re: Higher level questions around shared memory stats Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: Higher level questions around shared memory stats "David G. Johnston" <david.g.johnston@gmail.com>
Re: Higher level questions around shared memory stats Andres Freund <andres@anarazel.de>
Re: Higher level questions around shared memory stats Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: Higher level questions around shared memory stats Andres Freund <andres@anarazel.de>
Re: Higher level questions around shared memory stats Andres Freund <andres@anarazel.de>
Re: Higher level questions around shared memory stats Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: Higher level questions around shared memory stats Robert Haas <robertmhaas@gmail.com>
Re: Higher level questions around shared memory stats Andres Freund <andres@anarazel.de>
Re: Higher level questions around shared memory stats Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: Higher level questions around shared memory stats Andres Freund <andres@anarazel.de>
Re: Higher level questions around shared memory stats Robert Haas <robertmhaas@gmail.com>
Re: Higher level questions around shared memory stats Andres Freund <andres@anarazel.de>
Re: Higher level questions around shared memory stats Andres Freund <andres@anarazel.de>
Hi,

On 2022-03-31 16:16:31 +0900, Kyotaro Horiguchi wrote:
> After moving to shared stats, we might want to expose the GUC variable
> itself. Then hide/remove the macro PG_STAT_TMP_DIR.  This breaks the
> extensions but it is better than keeping using PG_STAT_TMP_DIR for
> uncertain reasons. The existence of the macro can be used as the
> marker of the feature change.  This is the chance to break the (I
> think) bad practice shared among the extensions.  At least I am okay
> with that.

I don't really understand why we'd want to do it that way round? Why not just
leave PG_STAT_TMP_DIR in place, and remove the GUC? Since nothing uses the
GUC, we're not loosing anything, and we'd not break extensions unnecessarily?

Obviously there's no strong demand for pg_stat_statements et al to use the
user-configurable stats_temp_directory, given they've not done so for years
without complaints?  The code to support the configurable stats_temp_dir isn't
huge, but it's not small either.

Greetings,

Andres Freund


В списке pgsql-hackers по дате отправления
От: Andrew Dunstan
Дата:
Сообщение: Re: Commitfest closing
От: David G. Johnston
Дата:
Сообщение: Re: unlogged sequences
FAQ