Pg_hba.conf file

Can someone please send the original copy of the unedited pg_hba.conf file for postgresql, 9.1, to ubuntu. I screwed it and I can not find the original or a place for reinstallation. Thank.

+5
source share
3 answers

In fact, the only way to get this file is when someone else runs initdb on their computer and sends the file to you via email or through some kind of hosting.

official way (documentation says):

, pg_hba.conf . default pg_hba.conf , initdb. ; . hba_file.

UPDATE: pg_hba.conf (pastebin.com) ? , , PostgreSQL 9.1 Debian 6.

+4

Ubuntu , ( - ). ident.

# TYPE  DATABASE        USER            CIDR-ADDRESS            METHOD

# "local" is for Unix domain socket connections only
local   all             all                                     ident
# IPv4 local connections:
host    all             all             127.0.0.1/32            ident
# IPv6 local connections:
host    all             all             ::1/128                 ident
+2

initdb , , pg_hba.conf?

+1

All Articles