Below is an example of a PostgreSQL host-based authentication configuration in $PGDATA/pg_hba.conf.
$PGDATA/pg_hba.conf
Â