Re: pgsql: Add emulation of non-blocking sockets to the win32 socket/signal - Mailing list pgsql-committers

From Thom Brown
Subject Re: pgsql: Add emulation of non-blocking sockets to the win32 socket/signal
Date
Msg-id bddc86151002161132q2efbd1f1k6ee02a72ae2b5e4e@mail.gmail.com
Whole thread Raw
In response to pgsql: Add emulation of non-blocking sockets to the win32 socket/signal  (mha@postgresql.org (Magnus Hagander))
Responses Re: pgsql: Add emulation of non-blocking sockets to the win32 socket/signal  (Magnus Hagander <magnus@hagander.net>)
List pgsql-committers
On 16 February 2010 19:26, Magnus Hagander <mha@postgresql.org> wrote:
> Log Message:
> -----------
> Add emulation of non-blocking sockets to the win32 socket/signal layer,
> and use this in pq_getbyte_if_available.
>
> It's only a limited implementation which swithes the whole emulation layer
> no non-blocking mode, but that's enough as long as non-blocking is only
> used during a short period of time, and only one socket is accessed during
> this time.
>
> Modified Files:
> --------------
>    pgsql/src/backend/libpq:
>        pqcomm.c (r1.202 -> r1.203)
>        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/libpq/pqcomm.c?r1=1.202&r2=1.203)
>    pgsql/src/backend/port/win32:
>        socket.c (r1.23 -> r1.24)
>        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/port/win32/socket.c?r1=1.23&r2=1.24)

The pedant returns: s/thta/that/

>    pgsql/src/include/port:
>        win32.h (r1.92 -> r1.93)
>        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/port/win32.h?r1=1.92&r2=1.93)
>
> --

Thom

pgsql-committers by date:

Previous
From: mha@postgresql.org (Magnus Hagander)
Date:
Subject: pgsql: Add emulation of non-blocking sockets to the win32 socket/signal
Next
From: stark@postgresql.org (Greg Stark)
Date:
Subject: pgsql: revert to showing buffer counts in explain (buffers)