Update doc to mention that last_login does not support postgresql backend.

This commit is contained in:
Zhang Huangbin 2019-05-29 13:36:13 +08:00
parent cde04499a7
commit c80701103e
2 changed files with 20 additions and 0 deletions

View File

@ -2,6 +2,16 @@
[TOC] [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:
- <https://marc.info/?t=155411531600001&r=1&w=2>
- <https://marc.info/?t=155826327900001&r=1&w=2>
Dovecot ships a `last_login` plugin since Dovecot-2.2.14, it can be used to 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. easily save and update user's last-login timestamp in SQL database.

View File

@ -27,6 +27,16 @@
</li> </li>
</ul> </ul>
</div> </div>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>This feature is not available for PostgreSQL backend due to Dovecot does
not yet support updating existing SQL record on conflict primary key.</p>
<p>Relevent posts in Dovecot mailing lists:</p>
<ul>
<li><a href="https://marc.info/?t=155411531600001&amp;r=1&amp;w=2">https://marc.info/?t=155411531600001&amp;r=1&amp;w=2</a></li>
<li><a href="https://marc.info/?t=155826327900001&amp;r=1&amp;w=2">https://marc.info/?t=155826327900001&amp;r=1&amp;w=2</a></li>
</ul>
</div>
<p>Dovecot ships a <code>last_login</code> plugin since Dovecot-2.2.14, it can be used to <p>Dovecot ships a <code>last_login</code> plugin since Dovecot-2.2.14, it can be used to
easily save and update user's last-login timestamp in SQL database.</p> easily save and update user's last-login timestamp in SQL database.</p>
<div class="admonition attention"> <div class="admonition attention">