user_clusters 1.09 KB
Newer Older
1
# This file maps users against the database clusters to which they
2 3
# will connect by default.  Any user may create ~/.postgresqlrc which
# will supersede the defaults stored here.  If a database is
4 5 6 7
# specified, that will be the one connected to by client tools if none
# is specified on the command line.  If the database specified here is
# "*", this is interpreted as the database whose name is the same as
# the user's login.  (Setting the database to "*" will provide the
Oliver Elphick's avatar
Oliver Elphick committed
8 9
# current default upstream behaviour for command line tools.)
#
10 11 12
# When pg_wrapper scans this file, the first matching line is 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,
13 14
# the implicit default is to connect to the cluster listening on
# port 5432 and to the database matching the user's login name.
Oliver Elphick's avatar
Oliver Elphick committed
15
#
16 17 18 19
# In the context of this file, user and group refer to the Unix login
# or group, not to PostgreSQL users and groups.
# 
# Please see user_clusters(5) and postgresqlrc(5) for more information.
Oliver Elphick's avatar
Oliver Elphick committed
20
#
21
# USER	GROUP	VERSION	CLUSTER	DATABASE
Oliver Elphick's avatar
Oliver Elphick committed
22