Thread: postgres --describe-config missing metadata

postgres --describe-config missing metadata

From
Stuart Bishop
Date:
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/