pgsql/src/interfaces/libpq fe-connect.c fe-misc.c

Поиск
Список
Период
Сортировка
От momjian@postgresql.org (Bruce Momjian - CVS)
Тема pgsql/src/interfaces/libpq fe-connect.c fe-misc.c
Дата
Msg-id 20020415233417.03125479C72@postgresql.org
обсуждение исходный текст
Список pgsql-committers
CVSROOT:    /cvsroot
Module name:    pgsql
Changes by:    momjian@postgresql.org    02/04/15 19:34:17

Modified files:
    src/interfaces/libpq: fe-connect.c fe-misc.c

Log message:
    Fix for EINTR returns from Win9X socket operations:

    In summary, if a software writer implements timer events or other events
    which generate a signal with a timing fast enough to occur while libpq
    is inside connect(), then connect returns -EINTR.  The code following
    the connect call does not handle this and generates an error message.
    The sum result is that the pg_connect() fails.  If the timer or other
    event is right on the window of the connect() completion time, the
    pg_connect() may appear to work sporadically.  If the event is too slow,
    pg_connect() will appear to always work and if the event is too fast,
    pg_connect() will always fail.

    David Ford


В списке pgsql-committers по дате отправления:

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql/ oc/src/sgml/runtime.sgml rc/backend/cat ...
Следующее
От: momjian@postgresql.org (Bruce Momjian - CVS)
Дата:
Сообщение: pgsql/src/interfaces/libpq fe-exec.c libpq-fe.h