[DBIx-Class-Devel] [dbsrgits/dbix-class] PostgreSQL hot-standby replication support (#103)

A. Karl Kornel notifications at github.com
Thu Apr 21 23:02:26 GMT 2016


Hello!

We have been using some customizations to DBIx::Class::Storage::DBI::Pg for a while, which makes DBIx::Class replication-aware for Postgres.  I'd like to push the changes upstream.

The changes work with PostgreSQL hot-standby replication, which was introduced in PostgreSQL 9.0.  I don't know if it would work in other forms of PostgreSQL master-slave replication (such as Slony); I'm sure it won't work with PostgreSQL master-master replication (such as BDR), although I'm not sure you'd even want to use this in a multi-master environment.

The code was written by a co-worker, but I've gotten his OK to push this upstream.
You can view, comment on, or merge this pull request online at:

  https://github.com/dbsrgits/dbix-class/pull/103

-- Commit Summary --

  * PostgreSQL hot-standby replication support

-- File Changes --

    M lib/DBIx/Class/Storage/DBI/Pg.pm (17)

-- Patch Links --

https://github.com/dbsrgits/dbix-class/pull/103.patch
https://github.com/dbsrgits/dbix-class/pull/103.diff

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/dbsrgits/dbix-class/pull/103
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/dbix-class-devel/attachments/20160421/9d5e5195/attachment.htm>


More information about the DBIx-Class-Devel mailing list