Received: from cncware.whidbey.com (IDENT:root@cncware.whidbey.com [208.25.171.37]) by hub.org (8.9.3/8.9.3) with ESMTP id RAA07117 for ; Thu, 2 Sep 1999 17:36:04 -0400 (EDT) (envelope-from ken@ori-ind.com) Received: from ken (ken.cncware.com [192.168.61.201]) by cncware.whidbey.com (8.8.7/8.8.7) with SMTP id OAA00727; Thu, 2 Sep 1999 14:35:37 -0700 Message-Id: <3.0.32.19990902134214.008e3100@ren.cncware.com> X-Sender: ken_ori@ren.cncware.com X-Mailer: Windows Eudora Pro Version 3.0 (32) Date: Thu, 02 Sep 1999 13:42:17 -0700 To: David Giffin , pgsql-interfaces@postgreSQL.org From: "Ken J. Wright" Subject: Re: [INTERFACES] Win32 interface Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 14:02 09/02/1999 -0700, David Giffin wrote: > >I'm trying to use the postgresql win32 interface to connect ot a UNIX >host. I'm using PQconnectDB() to get the connection. Each time I try to >connect it says unknown host name: > >connectDB() -- unknown hostname: mobile > >reguardless of specifying the ip address or the complete host name. Any >ideas?? are you using the proper parameter string? PQconnectDB('host=hostname dbname=databasename user=username') Otherwise maybe send code snippet to look at? Ken