<p>Hello!</p>

<p>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.</p>

<p>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.</p>

<p>The code was written by a co-worker, but I've gotten his OK to push this upstream.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>&nbsp;&nbsp;<a href='https://github.com/dbsrgits/dbix-class/pull/103'>https://github.com/dbsrgits/dbix-class/pull/103</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>PostgreSQL hot-standby replication support</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/dbsrgits/dbix-class/pull/103/files#diff-0">lib/DBIx/Class/Storage/DBI/Pg.pm</a>
    (17)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/dbsrgits/dbix-class/pull/103.patch'>https://github.com/dbsrgits/dbix-class/pull/103.patch</a></li>
  <li><a href='https://github.com/dbsrgits/dbix-class/pull/103.diff'>https://github.com/dbsrgits/dbix-class/pull/103.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly or <a href="https://github.com/dbsrgits/dbix-class/pull/103">view it on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/AASeAs5sw6IQpYGMEShcElo8x-Ka-cxJks5p6AICgaJpZM4INKKX.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/dbsrgits/dbix-class/pull/103"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>