pg_hba.conf file

database, postgresql

Solution

In fact, the only way you can receive this file is when somebody else will run initdb on his machine and send the file to you by email or via some hosting.

The official way is (documentation says):

Client authentication is controlled by a configuration file, which traditionally is named pg_hba.conf and is stored in the database cluster's data directory. A default pg_hba.conf file is installed when the data directory is initialized by initdb. It is possible to place the authentication configuration file elsewhere, however; see the hba_file configuration parameter.

UPDATE: Is this pg_hba.conf (pastebin.com) what you was looking for? It's the file I received right now when installed a PostgreSQL 9.1 on Debian 6.

Problem

Can somebody please post an original copy of an unedited pg_hba.conf file for postgresql, 9.1, on ubuntu. I screwed it up and can't find an original nor in the position to reinstall.Thank you

Original source