From: Constantin Teodorescu <teo@flex.ro>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: David Lloyd-Jones <david.lloyd-jones@attcanada.ca>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: PSQL Working, but PGAccess Not Connecting.
Date: Mon, 31 Jul 2000 08:54:18 +0300
Message-ID: <3985148A.F9B51A00@flex.ro> (raw)
References: <200007301621.SAA02908@beertje.william.bogus>
<000601bffa64$a38bb960$46647bd8@WORKGROUP>
<1655.964993215@sss.pgh.pa.us>
<000701bffa74$88159790$406c7bd8@WORKGROUP>
<7628.964996485@sss.pgh.pa.us>
Tom Lane wrote:
>
> "David Lloyd-Jones" <david.lloyd-jones@attcanada.ca> writes:
> > than one can read them) but I don't see how this adds up: I'm not on a
> > network, and PSQL, which is a front end to PostgreSQL, just like PGAccess is
> > supposed to be, is running fine.
>
> By default, psql connects via a Unix-socket path, not by TCP. PGAccess
> is written differently and always tries to connect by TCP. If you try
> to start psql with "-h localhost" or some such, it will try TCP and
> fail in the same way ...
BTW, is there a way to connect to PostgreSQL with libpgtcl with
Unix-socket?
Any parameters? In that case I can try changing PgAccess to connect in
both ways!
--
Constantin Teodorescu
General Investment Group
Braila, ROMANIA
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: teo@flex.ro, tgl@sss.pgh.pa.us, david.lloyd-jones@attcanada.ca
Subject: Re: PSQL Working, but PGAccess Not Connecting.
In-Reply-To: <3985148A.F9B51A00@flex.ro>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox