2
0

Add docs and tests for PgBouncer

This commit is contained in:
Jack Christensen
2019-08-24 22:12:55 -05:00
parent 7f5e702d1a
commit 61f0710101
3 changed files with 87 additions and 0 deletions
+5
View File
@@ -206,5 +206,10 @@ Logging
pgx defines a simple logger interface. Connections optionally accept a logger that satisfies this interface. Set
LogLevel to control logging verbosity. Adapters for github.com/inconshreveable/log15, github.com/sirupsen/logrus, and
the testing log are provided in the log directory.
PgBouncer
pgx is compatible with PgBouncer in two modes. One is when the connection has a statement cache in "describe" mode. The
other is when the connection is using the simple protocol. This can be set with the PreferSimpleProtocol config option.
*/
package pgx