MCPcopy
hub / github.com/jackc/pgx / traceExecute

Method traceExecute

pgproto3/trace.go:263–267  ·  view source on GitHub ↗
(sender byte, encodedLen int32, msg *Execute)

Source from the content-addressed store, hash-verified

261}
262
263func (t *tracer) traceExecute(sender byte, encodedLen int32, msg *Execute) {
264 t.writeTrace(sender, encodedLen, "Execute", func() {
265 fmt.Fprintf(t.buf, "\t %s %d", traceDoubleQuotedString([]byte(msg.Portal)), msg.MaxRows)
266 })
267}
268
269func (t *tracer) traceFlush(sender byte, encodedLen int32, msg *Flush) {
270 t.writeTrace(sender, encodedLen, "Flush", nil)

Callers 2

traceMessageMethod · 0.95
SendExecuteMethod · 0.80

Calls 2

writeTraceMethod · 0.95
traceDoubleQuotedStringFunction · 0.85

Tested by

no test coverage detected