<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hi,</p>
<p>According to the libpq documentation it is possible to specify more than one host for PG connections.</p>
<p>See <a href="https://www.postgresql.org/docs/current/libpq-connect.html">https://www.postgresql.org/docs/current/libpq-connect.html</a>  --> section 34.1.1.2. Connection URIs</p>
<p>-----------</p>
<p><span>It is possible to specify multiple host components, each with an optional port component, in a single URI. A URI of the form </span><code class="literal">postgresql://host1:port1,host2:port2,host3:port3/</code><span> is equivalent to a connection string of the form </span><code class="literal">host=host1,host2,host3 port=port1,port2,port3</code><span>. Each host will be tried in turn until a connection is successfully established.</span></p>
<p><span>-------------</span></p>
<p><span>Is this option to specify more than one host supported by QGIS and if yes, how? It would only make sense for read-only connections, I think.</span></p>
<p><span>Thanks,<br />Andreas</span></p>

</body></html>