Re: PQhost - Mailing list pgsql-interfaces

From Tom Lane
Subject Re: PQhost
Date
Msg-id 25449.1052932808@sss.pgh.pa.us
Whole thread Raw
In response to PQhost  (Stéphane Pinel <spinel@noos.fr>)
Responses Re: PQhost
List pgsql-interfaces
Stéphane Pinel <spinel@noos.fr> writes:
> theHost = PQhost(conn);

> after the PQhost call, "theHost" is unusable, whatever I try, I get a  
> crash.

It looks to me like PQhost returns NULL if you are dealing with a local
connection.
        regards, tom lane


pgsql-interfaces by date:

Previous
From: Stéphane Pinel
Date:
Subject: PQhost
Next
From: Stéphane Pinel
Date:
Subject: Re: PQhost