You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+20-26
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,12 @@
1
-
# PostgreSQL R2DBC Driver[](https://github.com/pgjdbc/r2dbc-postgresql/actions?query=workflow%3A%22Java+CI+with+Maven%22+branch%3Amain)[](https://maven-badges.herokuapp.com/maven-central/org.postgresql/r2dbc-postgresql)
1
+
# GaussDB R2DBC Driver
2
2
3
-
This project contains the [PostgreSQL][p] implementation of the [R2DBC SPI][r]. This implementation is not intended to be used directly, but rather to be used as the backing implementation for a humane client library to delegate to.
3
+
This project contains the [GaussDB][p] implementation of the [R2DBC SPI][r]. This implementation is not intended to be used directly, but rather to be used as the backing implementation for a humane client library to delegate to.
4
4
5
5
This driver provides the following features:
6
6
7
7
* Implements R2DBC 1.0
8
-
* Login with username/password (MD5, SASL/SCRAM) or implicit trust
8
+
* Login with username/password
9
9
* Supports credential rotation by providing `Supplier<String>` or `Publisher<String>`
10
-
* SCRAM authentication
11
10
* Unix Domain Socket transport
12
11
* Connection Fail-over supporting multiple hosts
13
12
* TLS
@@ -18,14 +17,13 @@ This driver provides the following features:
18
17
* Execution of prepared statements with bindings
19
18
* Execution of batch statements without bindings
20
19
* Read and write support for a majority of data types (see [Data Type Mapping](#data-type-mapping) for details)
21
-
* Fetching of `REFCURSOR` using `io.r2dbc.postgresql.api.RefCursor`
22
-
* Extension points to register `Codec`s to handle additional PostgreSQL data types
20
+
* Extension points to register `Codec`s to handle additional GaussDB data types
For example an application can create two connection pools. One data source is for writes, another for reads. The write pool limits connections only to a primary node:
R2DBC Postgres supports both, the [simple](https://www.postgresql.org/docs/current/protocol-flow.html#id-1.10.5.7.4)
190
+
R2DBC GaussDB supports both, the [simple](https://www.postgresql.org/docs/current/protocol-flow.html#id-1.10.5.7.4)
197
191
and [extended](https://www.postgresql.org/docs/current/protocol-flow.html#PROTOCOL-FLOW-EXT-QUERY) message flow.
198
192
199
193
Cursored fetching is activated by configuring a `fetchSize`. Postgres cursors are valid for the duration of a transaction. R2DBC can use cursors in auto-commit mode (`Execute` and `Flush`) to not
Applications may make use of Postgres enumerated types by using `EnumCodec` to map custom types to Java `enum` types.
397
391
`EnumCodec` requires the Postgres OID and the Java to map enum values to the Postgres protocol and to materialize Enum instances from Postgres results.
0 commit comments