mirror of
https://github.com/jackc/pgx.git
synced 2025-04-27 21:25:53 +00:00
This commit adds a background reader that can optionally buffer reads. It is used whenever a potentially blocking write is made to the server. The background reader is started on a slight delay so there should be no meaningful performance impact as it doesn't run for quick queries and its overhead is minimal relative to slower queries.