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

Function pqSkipnchar

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

* pqSkipnchar: * skip over len bytes in input buffer. * * Note: this is primarily useful for its debug output, which should * be exactly the same as for pqGetnchar. We assume the data in question * will actually be used, but just isn't getting copied anywhere as yet. */

Source from the content-addressed store, hash-verified

192 * will actually be used, but just isn't getting copied anywhere as yet.
193 */
194int
195pqSkipnchar(size_t len, PGconn *conn)
196{
197 if (len > (size_t) (conn->inEnd - conn->inCursor))
198 return EOF;
199
200 conn->inCursor += len;
201
202 return 0;
203}
204
205/*
206 * pqPutnchar:

Callers 1

getAnotherTupleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected