Re: [HACKERS] Error on PQputline()

2002-05-17 Thread Tom Lane
"Dann Corbit" <[EMAIL PROTECTED]> writes: >> I'm confused too. For starters, I cannot find that error message >> string about 'A non-blocking socket operation could not be completed >> immediately' anywhere. Got any idea what's producing that? Exactly >> which version of libpq are you using, an

Re: [HACKERS] Error on PQputline()

2002-05-17 Thread Dann Corbit
> -Original Message- > From: Tom Lane [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 17, 2002 4:38 PM > To: Dann Corbit > Cc: [EMAIL PROTECTED] > Subject: Re: [HACKERS] Error on PQputline() > > > "Dann Corbit" <[EMAIL PROTECTED]> writes: >

Re: [HACKERS] Error on PQputline()

2002-05-17 Thread Tom Lane
"Dann Corbit" <[EMAIL PROTECTED]> writes: >> You're running libpq with the nonblocking mode selected? > Actually no. It should be the default mode for a connection made by > PQconnectdb(). That's what made the error so puzzling. I'm confused too. For starters, I cannot find that error message

Re: [HACKERS] Error on PQputline()

2002-05-17 Thread Dann Corbit
> -Original Message- > From: Tom Lane [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 17, 2002 4:10 PM > To: Dann Corbit > Cc: [EMAIL PROTECTED] > Subject: Re: [HACKERS] Error on PQputline() > > > "Dann Corbit" <[EMAIL PROTECTED]> writes

Re: [HACKERS] Error on PQputline()

2002-05-17 Thread Tom Lane
"Dann Corbit" <[EMAIL PROTECTED]> writes: > The contents of the error message are: > conn->errorMessage.data 0x00312440 "pqFlush() -- couldn't send data: > errno=0 > No error A non-blocking socket operation could not be completed > immediately. You're running libpq with the nonblocking mod

[HACKERS] Error on PQputline()

2002-05-17 Thread Dann Corbit
The contents of the error message are: conn->errorMessage.data 0x00312440 "pqFlush() -- couldn't send data: errno=0 No error A non-blocking socket operation could not be completed immediately. for this: if (PQputline(conn, pszBCPdata[i++]) == EOF) printf("Er