Re: PQhost

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Stéphane Pinel <spinel(at)noos(dot)fr>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: PQhost
Date: 2003-05-14 17:20:08
Message-ID: 25449.1052932808@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

=?ISO-8859-1?Q?St=E9phane_Pinel?= <spinel(at)noos(dot)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

In response to

  • PQhost at 2003-05-14 16:58:12 from Stéphane Pinel

Responses

  • Re: PQhost at 2003-05-14 17:29:50 from Stéphane Pinel

Browse pgsql-interfaces by date

  From Date Subject
Next Message Stéphane Pinel 2003-05-14 17:29:50 Re: PQhost
Previous Message Stéphane Pinel 2003-05-14 16:58:12 PQhost