diff --git a/src/backend/libpq/pg_hba.conf.sample b/src/backend/libpq/pg_hba.conf.sample index 5f24a84c8a..7e744608fc 100644 --- a/src/backend/libpq/pg_hba.conf.sample +++ b/src/backend/libpq/pg_hba.conf.sample @@ -49,6 +49,9 @@ # o "all" to indicate all databases # o "sameuser" to allow access only to databases with the same # name as the connecting user +# +# The superuser needs access to the 'template1' database because it is used +# by a variety of PostgreSQL utility commands. # # IP_ADDRESS and ADDRESS_MASK are standard dotted decimal IP address and # mask values. IP addresses can only be specified numerically, not as