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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

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


  • 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: Mon, 15 Apr 2002 19:34:17 -0400 (EDT)
  • Message-id: <20020415233417.03125479C72@postgresql.org> <text/plain>

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




Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group