From fa55478a7c38f79084ee4309893078279861cb47 Mon Sep 17 00:00:00 2001 From: Hannes de Jager Date: Thu, 11 Apr 2019 20:27:33 +0200 Subject: [PATCH] Readme fixes. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 32b441d..390b6f0 100644 --- a/README.md +++ b/README.md @@ -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.