MCPcopy Create free account
hub / github.com/apache/cloudberry / pqReadReady

Function pqReadReady

src/interfaces/libpq/fe-misc.c:1130–1134  ·  view source on GitHub ↗

* pqReadReady: is select() saying the file is ready to read? * Returns -1 on failure, 0 if not ready, 1 if ready. */

Source from the content-addressed store, hash-verified

1128 * Returns -1 on failure, 0 if not ready, 1 if ready.
1129 */
1130int
1131pqReadReady(PGconn *conn)
1132{
1133 return pqSocketCheck(conn, 1, 0, (time_t) 0);
1134}
1135
1136/*
1137 * pqWriteReady: is select() saying the file is ready to write?

Callers 2

gss_readFunction · 0.85
pqReadDataFunction · 0.85

Calls 1

pqSocketCheckFunction · 0.85

Tested by

no test coverage detected