RE: [HACKERS] Re: (postgres) Libpq Win32

From: Magnus Hagander <mha(at)edu(dot)sollentuna(dot)se>
To: "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, roberto(at)mha(dot)com(dot)br
Cc: hackers(at)postgreSQL(dot)org
Subject: RE: [HACKERS] Re: (postgres) Libpq Win32
Date: 1998-07-03 16:20:43
Message-ID: 51F537775B63D0119D8D00805FBEB256E601B9@venture.edu.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> roberto(at)mha(dot)com(dot)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

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1998-07-03 20:09:27 MySQL and PostgreSQL
Previous Message Tom Lane 1998-07-03 15:09:14 Re: [HACKERS] Re: (postgres) Libpq Win32