Help - psql/libpq under mswin

From: "Nairn, Bruce" <Bruce(dot)Nairn(at)METROKC(dot)GOV>
To: "'pgsql-interfaces(at)postgresql(dot)org'" <pgsql-interfaces(at)postgresql(dot)org>
Subject: Help - psql/libpq under mswin
Date: 2003-10-15 14:48:09
Message-ID: 0E7534CDD916A64B9361B52F6B22C03E012F22A6@kcmail3.metrokc.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Hi,

I'm hoping someone can point out what I missed here. I'm hoping to get
postgresql to interface with a C++ program compiled under vc++ 6.0 on a
win2k machine.

I have: cygwin 1.3.22-1
cygipc 1.14-1
postgresql 7.3.3-1

Under cygwin, everything seems to run as expected, i.e. I can follow the
steps to create and then use psql to view a db. I built the libpq portion
under mswin (vc++ 6.0) as described in Chapter 2 of the docs, which also
built a version of psql. Attempting to use this version of psql (or libpq)
returns the error:

could not create socket: Address family not supported (0x0000273F/10047)

Can someone point out where I erred?

Thanks,
Bruce

Browse pgsql-interfaces by date

  From Date Subject
Next Message Martin_Hurst 2003-10-17 19:35:41 connecting to external database tables outside of the postgres database
Previous Message Brett Maton 2003-10-15 08:22:17 Intercept database Connection request