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

Function pqPuts

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

* pqPuts: write a null-terminated string to the current message */

Source from the content-addressed store, hash-verified

157 * pqPuts: write a null-terminated string to the current message
158 */
159int
160pqPuts(const char *s, PGconn *conn)
161{
162 if (pqPutMsgBytes(s, strlen(s) + 1, conn))
163 return EOF;
164
165 return 0;
166}
167
168/*
169 * pqGetnchar:

Callers 6

pg_SASL_initFunction · 0.85
PQsendQueryInternalFunction · 0.85
PQsendPrepareFunction · 0.85
PQsendQueryGutsFunction · 0.85
PQsendDescribeFunction · 0.85
PQputCopyEndFunction · 0.85

Calls 1

pqPutMsgBytesFunction · 0.85

Tested by

no test coverage detected