Help - psql/libpq under mswin - Mailing list pgsql-interfaces

From Nairn, Bruce
Subject Help - psql/libpq under mswin
Date
Msg-id 0E7534CDD916A64B9361B52F6B22C03E012F22A6@kcmail3.metrokc.gov
Whole thread Raw
List pgsql-interfaces
<p><font size="2">Hi,</font><p><font size="2">  I'm hoping someone can point out what I missed here.  I'm hoping to get
postgresqlto interface with a C++ program compiled under vc++ 6.0 on a win2k machine.</font><p><font size="2">I have:
cygwin1.3.22-1</font><br /><font size="2">          cygipc 1.14-1</font><br /><font size="2">          postgresql
7.3.3-1</font><p><fontsize="2">Under cygwin, everything seems to run as expected, i.e. I can follow the steps to create
andthen use psql to view a db.  I built the libpq portion under mswin (vc++ 6.0) as described in Chapter 2 of the docs,
whichalso built a version of psql.  Attempting to use this version of psql (or libpq) returns the error:</font><p><font
size="2">couldnot create socket: Address family not supported (0x0000273F/10047)</font><p><font size="2">Can someone
pointout where I erred?</font><p><font size="2">Thanks,</font><br /><font size="2">Bruce </font> 

pgsql-interfaces by date:

Previous
From: "Brett Maton"
Date:
Subject: Intercept database Connection request
Next
From: Martin_Hurst@dom.com
Date:
Subject: connecting to external database tables outside of the postgres database