* pqWait: wait until we can read or write the connection socket * * JAB: If SSL enabled and used and forRead, buffered bytes short-circuit the * call to select(). * * We also stop waiting and return if the kernel flags an exception condition * on the socket. The actual error condition will be detected and reported * when the caller tries to read or write the socket. */
| 1069 | * when the caller tries to read or write the socket. |
| 1070 | */ |
| 1071 | int |
| 1072 | pqWait(int forRead, int forWrite, PGconn *conn) |
| 1073 | { |
| 1074 | return pqWaitTimed(forRead, forWrite, conn, (time_t) -1); |
| 1075 | } |
| 1076 | |
| 1077 | /* |
| 1078 | * pqWaitTimed: wait, but not past finish_time. |
no test coverage detected