---
name: "cdist-type__postgres_conf"
section: "7"
platform: "linux"
package: "cdist"
version: "7.0.0-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/cdist-type__postgres_conf"
---

# cdist-type\_\_postgres\_conf(7)

Alter PostgreSQL configuration

## NAME

cdist-type\_\_postgres\_conf - Alter PostgreSQL configuration

## DESCRIPTION

Configure a running PostgreSQL server using **ALTER SYSTEM**.

## REQUIRED PARAMETERS

- **value**

  The value to set (can be omitted if **--state** is set to **absent**).

## OPTIONAL PARAMETERS

- **state**

  **present** or **absent**. Defaults to **present**.

## BOOLEAN PARAMETERS

None.

## EXAMPLES

```
# set timezone
__postgres_conf timezone --value Europe/Zurich
# reset maximum number of concurrent connections to default (normally 100)
__postgres_conf max_connections --state absent
```

## SEE ALSO

None.

## AUTHORS

Beni Ruef (*bernhard.ruef--@--ssrq-sds-fds.ch*) Dennis Camera (*dennis.camera--@--ssrq-sds-fds.ch*)

## COPYING

Copyright (C) 2019-2021 SSRQ (www.ssrq-sds-fds.ch). You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

## COPYRIGHT

ungleich GmbH 2021
