2
0
Files
pgx/pgproto3
Jack Christensen e641d0a5ad Reuse connection read buffer
To avoid extra copies and small allocations previously large
read buffers were allocated and never reused. However, the down side of
this was greater total memory allocation and the possibility that a
reference to a single byte could pin an entire buffer.

Now the buffer is reused.
2022-02-26 09:31:45 -06:00
..
2022-02-21 11:57:34 -06:00
2022-02-21 11:57:34 -06:00
2022-02-26 09:31:45 -06:00
2022-02-21 11:57:34 -06:00
2022-02-21 11:57:34 -06:00
2022-02-21 11:57:34 -06:00
2022-02-21 11:57:34 -06:00
2022-02-21 11:57:34 -06:00
2022-02-21 11:57:34 -06:00
2022-02-21 13:22:42 -06:00
2022-02-21 11:57:34 -06:00
2022-02-21 11:57:34 -06:00

pgproto3

Package pgproto3 is a encoder and decoder of the PostgreSQL wire protocol version 3.

pgproto3 can be used as a foundation for PostgreSQL drivers, proxies, mock servers, load balancers and more.

See example/pgfortune for a playful example of a fake PostgreSQL server.