USER_CLUSTERS(5) | Debian PostgreSQL infrastructure | USER_CLUSTERS(5) |
user_clusters - File linking users to PostgreSQL clusters
The file /etc/postgresql-common/user_clusters maps users against the database clusters to which they will connect by default. However, every user can override these settings in ~/.postgresqlrc.
When scanning this file, the first matching line will be used. It is a good idea to provide a default explicitly, with a final line where both user and group are set to *.
If there is no default, the implicit default is to connect to the cluster listening on port 5432 and to the database matching the user's login name.
Comments are introduced by the character #. Comments may follow data on a line; the first comment character terminates the data. Leading whitespace and blank lines are ignored.
Each uncommented, non-blank line must describe a user, group or the default (where both user and group are set to *).
Fields must be given in the following order, separated by white space:
Since the first matching line is used, the default line must come last.
Feburary 2005 | Debian |