<p> Attention is currently required from: Sean Bright, N A, George Joseph. </p>
<p><a href="https://gerrit.asterisk.org/c/asterisk/+/19921">View Change</a></p><p>1 comment:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="null">Patchset:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/c/asterisk/+/19921?tab=comments">Patch Set #15:</a> </p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">> Maybe it's just too early on a Monday morning but I don't understand how this "Permit[s] more than […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Look on the postgresql documentation :<br>https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING</p><p style="white-space: pre-wrap; word-wrap: break-word;">postgresql://host1:123,host2:456/somedb?target_session_attrs=any&application_name=myapp</p><p style="white-space: pre-wrap; word-wrap: break-word;">You can specify more than one database so that if one is failing then it connects "transparently" to the others disponibles.<br>If your using a failover instances like https://github.com/citusdata/pg_auto_failover<br>you must specify all the databases so that if a database change from read/write to read only then you don't have to change the config of the asterisk realtime: it will be done automatically.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Maybe the title is not the best election: it's not writing/reading to every defined database, but it a single database with standbys which can be promoted to read/write at any time.</p><p style="white-space: pre-wrap; word-wrap: break-word;"><br>Hope that it will help understanding better the objective of this patch.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/19921">change 19921</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/c/asterisk/+/19921"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I9ca8705c96acdd4a10989d981a5c2583a160aa44 </div>
<div style="display:none"> Gerrit-Change-Number: 19921 </div>
<div style="display:none"> Gerrit-PatchSet: 16 </div>
<div style="display:none"> Gerrit-Owner: Eric Dantie <edantie@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Eric Dantie <edantie@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-Reviewer: N A <asterisk@phreaknet.org> </div>
<div style="display:none"> Gerrit-Reviewer: Sean Bright <sean@seanbright.com> </div>
<div style="display:none"> Gerrit-Attention: Sean Bright <sean@seanbright.com> </div>
<div style="display:none"> Gerrit-Attention: N A <asterisk@phreaknet.org> </div>
<div style="display:none"> Gerrit-Attention: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Mon, 03 Apr 2023 12:04:05 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Comment-In-Reply-To: Sean Bright <sean@seanbright.com> </div>
<div style="display:none"> Comment-In-Reply-To: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-MessageType: comment </div>