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

Function pqTraceOutputC

src/interfaces/libpq/fe-trace.c:260–274  ·  view source on GitHub ↗

Close(F) or CommandComplete(B) */

Source from the content-addressed store, hash-verified

258
259/* Close(F) or CommandComplete(B) */
260static void
261pqTraceOutputC(FILE *f, bool toServer, const char *message, int *cursor)
262{
263 if (toServer)
264 {
265 fprintf(f, "Close\t");
266 pqTraceOutputByte1(f, message, cursor);
267 pqTraceOutputString(f, message, cursor, false);
268 }
269 else
270 {
271 fprintf(f, "CommandComplete\t");
272 pqTraceOutputString(f, message, cursor, false);
273 }
274}
275
276/* Describe(F) or DataRow(B) */
277static void

Callers 1

pqTraceOutputMessageFunction · 0.85

Calls 2

pqTraceOutputByte1Function · 0.85
pqTraceOutputStringFunction · 0.85

Tested by

no test coverage detected