Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group