From: Keary Suska <hierophant@pcisys.net>
To: Postgres-Interfaces <pgsql-interfaces@postgresql.org>
Subject: PQhost() Returns NULL on Connection
Date: Wed, 26 Apr 2006 14:08:40 -0600
Message-ID: <C0752F68.29071%hierophant@pcisys.net> (raw)
Why would PQhost() return NULL on a valid connection? I would assume that it
would return either a host name or Unix domain socket name/path regardless
of whether the "host" parameter was passed at connect time. Is it because it
won't return a value when a domain socket is used? If so, is there a way to
get the domain socket used?
Best,
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
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: hierophant@pcisys.net
Subject: Re: PQhost() Returns NULL on Connection
In-Reply-To: <C0752F68.29071%hierophant@pcisys.net>
* 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