traceDoubleQuotedString returns t.buf as a double-quoted string without any escaping. It is roughly equivalent to pqTraceOutputString in libpq.
(buf []byte)
| 394 | // traceDoubleQuotedString returns t.buf as a double-quoted string without any escaping. It is roughly equivalent to |
| 395 | // pqTraceOutputString in libpq. |
| 396 | func traceDoubleQuotedString(buf []byte) string { |
| 397 | return `"` + string(buf) + `"` |
| 398 | } |
| 399 | |
| 400 | // traceSingleQuotedString returns buf as a single-quoted string with non-printable characters hex-escaped. It is |
| 401 | // roughly equivalent to pqTraceOutputNchar in libpq. |
no outgoing calls
no test coverage detected