Re: Opening database with PGACCESS

From: Eric Marsden <emarsden(at)mail(dot)dotcom(dot)fr>
To: pgsql-interfaces(at)hub(dot)org
Subject: Re: Opening database with PGACCESS
Date: 1999-08-02 08:44:14
Message-ID: wzid7x67esh.fsf@mail.dotcom.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

>>>>> "oe" == Oliver Elphick <olly(at)lfix(dot)co(dot)uk> writes:

rod> "Error connecting database. Connection to database failed
rod> connectDB() failed: Is the postmaster running and accepting
rod> TCP/IP (with -i) connections at 'localhost' on port '5432'"
rod>
rod> The postmaster is running and I can connect to mydb using "psql":

oe> pgaccess uses a TCP/IP connection through localhost, so you have
oe> to use the -i option when starting the postmaster, even though
oe> you have no other machines connecting to it.

well, there's a trick to get around that. If you provide an empty host
name and port number in the pgaccess connection dialog, it will switch
to a unix socket connection, and will work even without `-i'.

Has worked for me in the past, anyway.

--
Eric Marsden
It's elephants all the way down

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Mengelbier, Magnus 1999-08-02 09:32:37 RE: [INTERFACES] parser: parse error at or near... with create ta ble
Previous Message Brad Pepers 1999-08-02 08:43:13 Ada interface?