docs/postgres: replaces lib/pq with pgx (#15901)

This commit is contained in:
Austin Gebauer
2022-06-09 14:37:14 -07:00
committed by GitHub
parent c81a541c53
commit 8bf6a5952a
3 changed files with 15 additions and 12 deletions

View File

@@ -17,12 +17,10 @@ Roles](/docs/secrets/databases#static-roles).
See the [database secrets engine](/docs/secrets/databases) docs for
more information about setting up the database secrets engine.
The PostgreSQL secrets engine uses
[pq](https://pkg.go.dev/github.com/lib/pq?tab=doc), the same database
library as the [PostgreSQL storage
backend](/docs/configuration/storage/postgresql). Connection string
options, including SSL options, can be found
[here](https://godoc.org/github.com/lib/pq#hdr-Connection_String_Parameters)
The PostgreSQL secrets engine uses [pgx][pgxlib], the same database library as the
[PostgreSQL storage backend](/docs/configuration/storage/postgresql). Connection string
options, including SSL options, can be found in the [pgx][pgxlib] and
[PostgreSQL connection string][pg_conn_docs] documentation.
## Capabilities
@@ -92,3 +90,6 @@ plugin API](/api-docs/secret/databases/postgresql) page.
For more information on the database secrets engine's HTTP API please see the
[Database secrets engine API](/api-docs/secret/databases) page.
[pgxlib]: https://pkg.go.dev/github.com/jackc/pgx/stdlib
[pg_conn_docs]: https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING