]> granicus.if.org Git - postgresql/commit
Rename ident authentication over local connections to peer
authorMagnus Hagander <magnus@hagander.net>
Sat, 19 Mar 2011 17:44:35 +0000 (18:44 +0100)
committerMagnus Hagander <magnus@hagander.net>
Sat, 19 Mar 2011 17:44:35 +0000 (18:44 +0100)
commit6f9192df61e183826211ad2eaf325c6de5cf3656
tree98fc926f92e7073432cc813c1a69646be6301bb9
parent4a0014806d909bbb490f568af0b8f1ede06149ed
Rename ident authentication over local connections to peer

This removes an overloading of two authentication options where
one is very secure (peer) and one is often insecure (ident). Peer
is also the name used in libpq from 9.1 to specify the same type
of authentication.

Also make initdb select peer for local connections when ident is
chosen, and ident for TCP connections when peer is chosen.

ident keyword in pg_hba.conf is still accepted and maps to peer
authentication.
doc/src/sgml/client-auth.sgml
doc/src/sgml/runtime.sgml
src/backend/libpq/auth.c
src/backend/libpq/hba.c
src/backend/libpq/pg_hba.conf.sample
src/bin/initdb/initdb.c
src/include/libpq/hba.h