Skip to content

Commit

Permalink
docs: clarify postgresql support (#186)
Browse files Browse the repository at this point in the history
  • Loading branch information
skuruppu committed Jan 15, 2024
1 parent b56bfa8 commit 4aa18f6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,14 @@ $ gcloud beta emulators spanner start
$ export SPANNER_EMULATOR_HOST=localhost:9010
```

## Spanner PostgreSQL Interface

This driver works specifically with the Spanner GoogleSQL dialect. For the
Spanner PostgreSQL dialect, Go's
[database/sql](https://golang.org/pkg/database/sql/) package can be used
directly after setting up the
[PGAdapter](https://cloud.google.com/spanner/docs/pgadapter).

## Troubleshooting

The driver will retry any Aborted error that is returned by Cloud Spanner
Expand Down
4 changes: 0 additions & 4 deletions docs/limitations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ Partition Reads
~~~~~~~
Partition Reads can be done by unwrapping the Spanner-specific `SpannerConn` interface and doing the parition reads using that interface.

PostgreSQL
~~~~~~~
Spanner databases that use the PostgreSQL dialect are not yet supported.

Backups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Backups are not supported by this driver. Use the [Cloud Spanner Go client library](https://github.com/googleapis/google-cloud-go/tree/main/spanner) to manage backups programmatically.

0 comments on commit 4aa18f6

Please sign in to comment.