Skip to content

Commit

Permalink
Readme fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesdejager committed Apr 11, 2019
1 parent c0736f5 commit fa55478
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# pdgfailwrap [![GoDoc](https://godoc.org/github.com/hannesdejager/pgdfailwrap?status.svg)](https://godoc.org/github.com/hannesdejager/pgdfailwrap)
# pgdfailwrap [![GoDoc](https://godoc.org/github.com/hannesdejager/pgdfailwrap?status.svg)](https://godoc.org/github.com/hannesdejager/pgdfailwrap)

pdgfailwrap is a wrapper driver for 'postgres' drivers that adds the capability to detect a node that is in readonly mode and reject such a connection in order to be resilient to database failover from a master to slave node. The typical use-case being database maintenance.
pgdfailwrap is a wrapper driver for 'postgres' drivers that adds the capability to detect a node that is in readonly mode and reject such a connection in order to be resilient to database failover from a master to slave node. The typical use-case being database maintenance.

It aims in the direction of implementing 2 features found in libpq 10+: [multiple hosts support](https://paquier.xyz/postgresql-2/postgres-10-multi-host-connstr/) and [RW/RO connection selector](https://paquier.xyz/postgresql-2/postgres-10-libpq-read-write/) but currently implements a poor mans version where connections will only be made to read+write nodes i.e. you can't choose. The author needed this
for a production problem and found none of the Go PostgreSQL drivers supported this at the time of writing.
Expand Down

0 comments on commit fa55478

Please sign in to comment.