]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
driver-pgsql: Implement sql_get_flags() reliably
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Tue, 28 Sep 2021 12:32:56 +0000 (15:32 +0300)
committertimo.sirainen <timo.sirainen@open-xchange.com>
Wed, 29 Sep 2021 18:02:23 +0000 (18:02 +0000)
commita55f18c67fd8253e2dd9615c8678a9fc4197c0dd
treec33caf9c3b5f22e09ff1ec622cd366116d58021d
parenta90663e5885915e2337d6b688edb2e1eaa223a53
driver-pgsql: Implement sql_get_flags() reliably

Some of the flags aren't known until server is connected to, so wait for the
connect to finish if necessary before returning the flags.
src/lib-sql/driver-pgsql.c