Publish GUC flags to custom variables

Поиск
Список
Период
Сортировка
От ITAGAKI Takahiro
Тема Publish GUC flags to custom variables
Дата
Msg-id 20080819135214.C708.52131E4D@oss.ntt.co.jp
обсуждение исходный текст
Ответы Re: Publish GUC flags to custom variables  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hello,

Postgres supports to add custom GUC variables on runtime, but we
cannot use GUC flags in them. This patch adds the flags argument
to DefineCusomXxx() functions. The flags were always 0 until now.

GUC flags are useful for variables with units. Users will be able
to add configuration parameters somothing like memory-size or
time-duration more easily.

I have a plan to use the feature in SQL tracing and analyzing add-on
for postgres. Also, the auto-explain patch suggested in the last
commit-fest could be re-implemented as a plug-in instead of a core-feature
using the custom variable with units and ExecutorRun_hook.

Regards,
---
ITAGAKI Takahiro
NTT Open Source Software Center

Вложения

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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Proposed Resource Manager Changes
Следующее
От: David Fetter
Дата:
Сообщение: Re: WITH RECURSIVE patches 0818