---
name: "pgagroal_databases.conf"
section: "5"
platform: "linux"
package: "pgagroal"
version: "1.6.0-1+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/pgagroal_databases.conf"
---

# pgagroal\_databases.conf(5)

Limits for databases, users or both for pgagroal

## NAME

pgagroal\_databases.conf - Limits for databases, users or both for pgagroal

## DESCRIPTION

The pgagroal\_databases.conf configuration file defines limits for a database or a user or both.

## FORMAT

- **DATABASE**

  Specifies the database for the rule. Either specific name or all for all databases

- **USER**

  Specifies the user for the rule. Either specific name or all for all users

- **MAX\_SIZE**

  Specifies the maximum pool size for the entry. all for all connections

- **INITIAL\_SIZE**

  Specifies the initial pool size for the entry. Default is 0. Requires a pgagroal\_users.conf configuration

- **MIN\_SIZE**

  Specifies the minimum pool size for the entry. Default is 0. Requires a pgagroal\_users.conf configuration

## EXAMPLE

```
#
# DATABASE USER  MAX_SIZE INITIAL_SIZE MIN_SIZE
#
all        all   all
```

## REPORTING BUGS

pgagroal is maintained on GitHub at *https://github.com/agroal/pgagroal*

## COPYRIGHT

pgagroal is licensed under the 3-clause BSD License.

## SEE ALSO

[pgagroal.conf(5)](/pgagroal.conf/5.md), [pgagroal\_hba.conf(5)](/pgagroal_hba.conf/5.md), [pgagroal(1)](/pgagroal/1.md), [pgagroal-cli(1)](/pgagroal-cli/1.md), [pgagroal-admin(1)](/pgagroal-admin/1.md)
