Обсуждение: postgres --describe-config missing metadata

Поиск
Список
Период
Сортировка

postgres --describe-config missing metadata

От
Stuart Bishop
Дата:
postgres --describe-config  provides most of the configuration
metadata required to validate postgresql.conf settings or generate
configuration forms.

However, it is missing two important pieces of metadata. The unit of
measurement (needed to make sense of min_value, max_value and the
default value), and the allowed enum values.

Both of these are exposed in pg_settings, but alas this required
PostgreSQL to actually be running to access.

--
Stuart Bishop <stuart@stuartbishop.net>
http://www.stuartbishop.net/