| From: | momjian(at)postgresql(dot)org (Bruce Momjian - CVS) |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql/src/interfaces/libpq fe-connect.c fe-misc.c |
| Date: | 2002-04-15 23:34:17 |
| Message-ID: | 20020415233417.03125479C72@postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
CVSROOT: /cvsroot
Module name: pgsql
Changes by: momjian(at)postgresql(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian - CVS | 2002-04-15 23:35:52 | pgsql/src/interfaces/libpq fe-exec.c libpq-fe.h |
| Previous Message | Tom Lane | 2002-04-15 22:33:21 | pgsql/ oc/src/sgml/runtime.sgml rc/backend/cat ... |