From c80701103ebfaad3c7905960d0b79351f95c0230 Mon Sep 17 00:00:00 2001 From: Zhang Huangbin Date: Wed, 29 May 2019 13:36:13 +0800 Subject: [PATCH] Update doc to mention that last_login does not support postgresql backend. --- en_US/howto/track.user.last.login.md | 10 ++++++++++ html/track.user.last.login.html | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/en_US/howto/track.user.last.login.md b/en_US/howto/track.user.last.login.md index b11bc8d1..28e4228e 100644 --- a/en_US/howto/track.user.last.login.md +++ b/en_US/howto/track.user.last.login.md @@ -2,6 +2,16 @@ [TOC] +!!! warning + + This feature is not available for PostgreSQL backend due to Dovecot does + not yet support updating existing SQL record on conflict primary key. + + Relevent posts in Dovecot mailing lists: + + - + - + Dovecot ships a `last_login` plugin since Dovecot-2.2.14, it can be used to easily save and update user's last-login timestamp in SQL database. diff --git a/html/track.user.last.login.html b/html/track.user.last.login.html index 4f72d551..9eb49a92 100644 --- a/html/track.user.last.login.html +++ b/html/track.user.last.login.html @@ -27,6 +27,16 @@ +
+

Warning

+

This feature is not available for PostgreSQL backend due to Dovecot does +not yet support updating existing SQL record on conflict primary key.

+

Relevent posts in Dovecot mailing lists:

+ +

Dovecot ships a last_login plugin since Dovecot-2.2.14, it can be used to easily save and update user's last-login timestamp in SQL database.