Westenberg + Küppers GbR | Patrick Westenb
2010-May-15 11:53 UTC
[Dovecot] Multiple hosts for pgsql backend?
Hi Guys, is it possible to use more than one host with the pgsql backend? Like this: connect = host=10.5.29.77 host=10.5.29.210 dbname=postfix [...] I read that this is possible with mysql but I want to use pgsql. Regards Patrick
Am 15.05.2010 um 13:53 schrieb Westenberg + K?ppers GbR | Patrick Westenberg:> Hi Guys, > > is it possible to use more than one host with the pgsql backend? > > Like this: > connect = host=10.5.29.77 host=10.5.29.210 dbname=postfix [...] > > I read that this is possible with mysql but I want to use pgsql. > > Regards > PatrickHi, this is a feature upcoming in 2.x: http://www.dovecot.org/list/dovecot-news/2010-May/000155.html Regards Thomas
Am 15.05.2010 um 16:14 schrieb Westenberg + K?ppers GbR | Patrick Westenberg:> that?s nice. > > "PostgreSQL supports now multiple connections to backend. Also supports load-balancing / HA by specifying multiple host parameters." > > Will dovecot automatically load-balance it?s queries through the given > host parameters? > > Regards > PatrickThis is best answered by Timo, but this code excerpt should help finding details: http://hg.dovecot.org/dovecot-2.0/rev/1c8cc349ef55 Please post to the ML rather than to individuals in order to get a broader feedback. Regards Thomas