Re: [HACKERS] PQconnectStart() and -EINTR

2001-10-24 Thread Tom Lane
David Ford <[EMAIL PROTECTED]> writes: > I've got a bit of a problem. I added a fast SIGALRM handler in my > project to do various maintenance and this broke PQconnectStart(). It'd probably be reasonable to just retry the connect() call if it fails with EINTR. If that works for you, send a pat

Re: [HACKERS] PQconnectStart() and -EINTR

2001-10-24 Thread Doug McNaught
David Ford <[EMAIL PROTECTED]> writes: > I've got a bit of a problem. I added a fast SIGALRM handler in my project to > do various maintenance and this broke PQconnectStart(). > > > Oct 23 21:56:36 james BlueList: connectDBStart() -- connect() failed: > Interrupted system call ^IIs the postmas

[HACKERS] PQconnectStart() and -EINTR

2001-10-24 Thread David Ford
I've got a bit of a problem. I added a fast SIGALRM handler in my project to do various maintenance and this broke PQconnectStart(). Oct 23 21:56:36 james BlueList: connectDBStart() -- connect() failed: Interrupted system call ^IIs the postmaster running (with -i) at 'archives.blue-labs.org'