Re: Fwd: posgresql 7.2.1 & pg_hba.conf
Re,
On Fri, 06 Aug 2004 10:49:55 +0200, Xavier Poinsard
<xpoinsard@openpricer.com> wrote:
> philippe L a écrit :
> > #
> > #
> > # local
> > # -----
> > #
> > # This record identifies the authentication to use when connecting to
> > # the server via a local UNIX domain socket. UNIX-socket connections are
> > # allowed only if this record type appears.
> > #
> > # Format:
> > # local DBNAME AUTH_TYPE [AUTH_ARGUMENT]
> > #
> > # This format is identical to the "host" record type except the IP_ADDRESS
> > # and ADDRESS_MASK fields are omitted.
> > #
> > #
> ....
> > # Allow any user on the local system to connect to any database under any
> > # username using Unix-domain sockets (the default for local connections):
> > #TYPE DATABASE IP_ADDRESS MASK AUTH_TYPE AUTH_ARGUMENT
> > local all 127.0.0.1 255.255.255.0 trust all
>
> Comme indiqué plus haut dans le fichier de config, pour le type local il
> ne faut pas fournir d'adresses IP (logique).
>
> La ligne devient donc :
>
> local all trust
Meci, cest bien sa !
philippe
Reply to: