Update docs

pull/594/head
Jack Christensen 2019-09-02 11:54:11 -05:00
parent bcea1fcd3f
commit 246baf2746
2 changed files with 5 additions and 3 deletions

View File

@ -80,6 +80,7 @@ pgx supports many additional features beyond what is available through database/
* NULL mapping to Null* struct or pointer to pointer.
* Supports database/sql.Scanner and database/sql/driver.Valuer interfaces for custom types
* Notice response handling (this is different than listen / notify)
* Simulated nested transactions with savepoints
## Performance

7
doc.go
View File

@ -175,7 +175,8 @@ Prepared Statements
Prepared statements can be manually created with the Prepare method. However, this is rarely necessary because pgx
includes an automatic statement cache by default. Queries run through the normal Query, QueryRow, and Exec functions are
automatically prepared on first execution and the prepared statement is reused on subsequent executions.
automatically prepared on first execution and the prepared statement is reused on subsequent executions. See ParseConfig
for information on how to customize or disable the statement cache.
Copy Protocol
@ -204,8 +205,8 @@ Use the underlying pgconn.PgConn for listen and notify.
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.
LogLevel to control logging verbosity. Adapters for github.com/inconshreveable/log15, github.com/sirupsen/logrus,
go.uber.org/zap, github.com/rs/zerolog, and the testing log are provided in the log directory.
PgBouncer