PQhost - Mailing list pgsql-interfaces

From Stéphane Pinel
Subject PQhost
Date
Msg-id 3F7797DD-862D-11D7-BED7-000A27AFF5D2@noos.fr
Whole thread Raw
Responses Re: PQhost
List pgsql-interfaces
I have this code :

--------------------------------------------------------
...
char *theHost
...
...
theHost = PQhost(conn);
....

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

I haven't encountered this issue with PQpass, PQuser, PQdb which work
like
a charm.

Any idea ?

Thanks !

------------------------------------------------------------------------
---
Stéphane Pinel
iChat/AIM: s.pinel
------------------------------------------------------------------------
---


pgsql-interfaces by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Last round (I think) of FE/BE protocol changes
Next
From: Tom Lane
Date:
Subject: Re: PQhost