Обсуждение: RE: [HACKERS] Re: (postgres) Libpq Win32

Поиск
Список
Период
Сортировка

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

От
Magnus Hagander
Дата:
> 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