Re: Enable user access from remote host - Mailing list pgsql-general

From Andreas Wenk
Subject Re: Enable user access from remote host
Date
Msg-id 49B3EA14.9000409@netzmeister-st-pauli.de
Whole thread Raw
In response to Re: Enable user access from remote host  (Piotre Ugrumov <afmulone@gmail.com>)
List pgsql-general

Piotre Ugrumov schrieb:
> On 8 Mar, 02:08, pie...@hogranch.com (John R Pierce) wrote:
>> Martin Gainty wrote:
>>> postgresql.conf :
>>> change listen_address to a real ip
>> change it to '*' or you won't be able to use localhost...  alternately,
>> youc could specify ip.of.net.iface,localhost   if you wanted to be specific.
>>
>> --
>> Sent via pgsql-general mailing list (pgsql-gene...@postgresql.org)
>> To make changes to your subscription:http://www.postgresql.org/mailpref/pgsql-general
>
> Hi,
> I inserted this line at the end of the pg_hba.conf
>
> host    test        angelo      ""          ident sameuser
>
> I inserted the "" to allow to everyone to access to the db.
> But if I try to access, from another host, I receive an error. What is
> the error in that line?

just leave it blank ... no "" signs ...

Cheers

Andy

--
Andreas Wenk
Hamburg - Germany

> Thanks, bye bye.
>


pgsql-general by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Newbie questions relating to transactions
Next
From: Carl Sopchak
Date:
Subject: Re: Newbie questions relating to transactions