last_login plugin with MySQL

Joseph Tam jtam.home at
Mon Oct 20 22:42:48 UTC 2014

Michael Cramer <michael at> writes:

> anybody knows how this can be achieved with postgresql, because 'ON
> DUPLICATE KEY UPDATE' syntax is mysql specific

A clear, concise explanation of consistency problems with SQL
update-or-insert ("upsert") operation, including a PostgreSQL

Joseph Tam <jtam.home at>

More information about the dovecot mailing list