pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Magnus Hagander <mha@sollentuna.net>
Cc: nico@clubdelphi.com
Cc: pgsql-interfaces@hub.org
Subject: Re: [INTERFACES] win32 libpq version is "too new"
Date: Tue, 27 Apr 1999 11:17:03 -0400
Message-ID: <8554.925226223@sss.pgh.pa.us> (raw)
In-Reply-To: <215896B6B5E1CF11BC5600805FFEA82101635FCB@sirius.edu.sollentuna.se>

Magnus Hagander <mha@sollentuna.net> writes:
> I beleive there is none. At least not native Win32. There were major changes
> required to libpq to make it possible to run it under Win32, and these
> changes appeared in 6.4.
> It would be possible to do it for 6.3, but it would require a huge amount of
> work. The pre-6.4 libpq client used fdopen() and then the fxxx() operations
> on the sockets. This does not work under Win32. 6.4 started using the direct
> send() and recv() calls, which are portable to Windows.

Ah, I had forgotten that connection.  Yup, it was all the same rewrite
of libpq that both made it dependent on the new-for-6.4 protocol and
converted it to use direct socket calls.  When I did that I had no idea
I was making it practical to port the library to Windows ;-) --- that
was a pleasant side-effect.

So it may be that indeed there is no DLL available for 6.3.  Sorry...

			regards, tom lane



view thread (5+ messages)  latest in thread

Message-ID: <8554.925226223@sss.pgh.pa.us>
Permalink:  ../8554.925226223@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/8554.925226223@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: tgl@sss.pgh.pa.us, mha@sollentuna.net, nico@clubdelphi.com, pgsql-interfaces@hub.org
  Subject: Re: [INTERFACES] win32 libpq version is "too new"
  In-Reply-To: <8554.925226223@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox