PostgreSQL configuration management¶
- pglift.conf.make(**confitems)¶
Return a
pgtoolkit.conf.Configurationfilled with given items.
- pglift.conf.read(configdir, managed_only=False, *, fs=<object object>)¶
Return parsed PostgreSQL configuration for given configdir.
If
managed_onlyisTrue, only the managed configuration is returned excluding ‘postgresql.auto.conf’ or ‘recovery.conf’, otherwise the fully parsed configuration is returned.- Raises:
FileNotFoundError – if expected configuration file is missing.
- Parameters:
- Return type: