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

Function pqPutnchar

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

* pqPutnchar: * write exactly len bytes to the current message */

Source from the content-addressed store, hash-verified

207 * write exactly len bytes to the current message
208 */
209int
210pqPutnchar(const char *s, size_t len, PGconn *conn)
211{
212 if (pqPutMsgBytes(s, len, conn))
213 return EOF;
214
215 return 0;
216}
217
218/*
219 * pqGetInt

Callers 5

pg_SASL_initFunction · 0.85
pqPacketSendFunction · 0.85
pqFunctionCall3Function · 0.85
PQsendQueryGutsFunction · 0.85
PQputCopyDataFunction · 0.85

Calls 1

pqPutMsgBytesFunction · 0.85

Tested by

no test coverage detected