RE: [HACKERS] Re: (postgres) Libpq Win32 - Mailing list pgsql-hackers

From Magnus Hagander
Subject RE: [HACKERS] Re: (postgres) Libpq Win32
Date
Msg-id 51F537775B63D0119D8D00805FBEB256E601B9@venture.edu.sollentuna.se
Whole thread Raw
List pgsql-hackers
> roberto@mha.com.br (Roberto Joao Lopes Garcia) writes:
> > Is it possible to get this patch, or it will be available only in
> > PostgreSQL 6.4?
>
> Since Magnus indicated that his changes depended on the recent libpq
> rewrite (with accompanying protocol changes), you'd have to do some
> significant surgery to get it to work with a 6.3.2 pgsql server.

Yes, that is correct.
The "old libpq" was much based on using fdopen() on the sockets,
which is not at all supported under Win32. The new code uses send()
and recv(), which made the porting really easy.


//Magnus

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] Re: (postgres) Libpq Win32
Next
From: Bruce Momjian
Date:
Subject: MySQL and PostgreSQL