Re: problem accessing a database - Mailing list pgsql-general

From A. Kretschmer
Subject Re: problem accessing a database
Date
Msg-id 20061103163411.GA30835@a-kretschmer.de
Whole thread Raw
In response to Re: problem accessing a database  (Luca Ferrari <fluca1978@infinito.it>)
List pgsql-general
am  Fri, dem 03.11.2006, um 17:06:01 +0100 mailte Luca Ferrari folgendes:
> On Friday 03 November 2006 16:40 Andreas Kretschmer's cat, walking on the
> keyboard, wrote:
> >
> > try psql -h localhost ...
>
>
> That worked!
> Thanks,

Great, okay.

The reason is, without -h, psql connect to the db via a socket, not with
tcp/ip. With -h, you coerce psql to connect via tcp/ip, and now your
rules are okay. You can change your settings for local (change to trust)


Andreas
--
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47215,   D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID:   0x3FFF606C, privat 0x7F4584DA   http://wwwkeys.de.pgp.net

pgsql-general by date:

Previous
From: Luca Ferrari
Date:
Subject: Re: problem accessing a database
Next
From: Shane Ambler
Date:
Subject: Re: new and old not available in rule subselects?