]> 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)
committerSiavash Tavakoli <siavash.tavakoli@open-xchange.com>
Wed, 29 Sep 2021 08:46:27 +0000 (09:46 +0100)
commit55b9e3536126ee41f300952dfdcc2e06493b4136
tree0297c0c4f09c1ad7478250e2619e4ac98d675087
parentb6aa90594b77c10c5b12a89bd9a31c745a45bba1
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