Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-interfaces by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group