• Bruce Momjian's avatar
    > I needed to do that for the web database that I'm setting up. We · 3f372ee6
    Bruce Momjian authored
    have > 20000 users and each (potentially) needs a separate database
    which is > only accessible to them. Rather than having 20000 lines
    in pg_hba.conf, > I've patched Postgres so that the special token
    "sameuser" in the > database field of pg_hba.conf allows access
    only to the username which > is connecting.
    3f372ee6
pg_hba.conf.sample 5.08 KB