Commit Graph

5 Commits (04bcc0219dc3acf67f27e68decd6dffe97334779)

Author SHA1 Message Date
Jack Christensen e9087eacb8 Fix data race when pgproto3 trace is enabled during CopyFrom
https://github.com/jackc/pgx/issues/1703
2023-08-05 07:30:59 -05:00
Jack Christensen 78875bb95a Add tracing support
Replaces existing logging support. Package tracelog provides adapter for
old style logging.

https://github.com/jackc/pgx/issues/1061
2022-07-16 12:27:10 -05:00
Jack Christensen 67635f896c Fix output to include message size and add some docs 2022-05-21 17:30:47 -05:00
Jack Christensen b74c109f61 Optimize tracing
The addition of tracing caused messages to escape to the heap. By
avoiding interfaces the messages no longer escape.
2022-05-21 17:22:58 -05:00
Jack Christensen f2e96156a0 Add message tracing 2022-05-21 14:43:04 -05:00