pgsql: Don't crash in sync queries if db can't be connected to.
pgsql: Don't crash in sync queries if db can't be connected to.

LTD-Beget/dovecot,LTD-Beget/dovecot,LTD-Beget/dovecot,LTD-Beget/dovecot,LTD-Beget/dovecot