by makkesk8 · 5y ago · 0 comments
This works very well in unit testing for us but there are situations where we use postgres and not sql server.
Looks like you can do almost that kind of thing with pgpool[1] (although it does look like you'd need a weird replication setup first which might be a deal-breaker.)
[1] https://blog.pythian.com/comparing-pgpool-ii-and-pgbouncer/
"Because Pgpool can detect the master and slaves, it can automatically route traffic writes to the master and read traffic to both servers."