Krzysztof A. Adamski
2005-Aug-16 23:39 UTC
[Dovecot] 2nd postgresql server to connect when 1st fail
I need to have mail service working even when my postgresql server will fail. In postfix i set 2 different servers and if 1st fail, postfix try to use 2nd. Is there any way to do this in dovecot? ---------------------------------------------------------------------- Zostan internetowa dziewczyna wakacji! > http://link.interia.pl/f18ac
Timo Sirainen
2005-Aug-16 23:51 UTC
[Dovecot] 2nd postgresql server to connect when 1st fail
On 17.8.2005, at 02:39, Krzysztof A. Adamski wrote:> I need to have mail service working even when my postgresql server > will fail. In postfix i set 2 different servers and if 1st fail, > postfix try to use 2nd. Is there any way to do this in dovecot?Currently not. It works with mysql code though, so all that's needed is to implement similar connection pooling for Postgresql code. Although I guess that pooling code could be made common to all SQL driver implementations.. Anyway, it's pretty low priority for me currently. -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20050817/f00a2b3e/attachment.bin>