Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query the DB for the hash before inserting in to email_hash (#15457) #15491

Merged

Commits on Apr 15, 2021

  1. Query the DB for the hash before inserting in to email_hash (go-gitea…

    …#15457)
    
    Backport go-gitea#15457
    
    Some postgres users have logging which logs even failed transactions. So
    just query the db before trying to insert.
    
    Fix go-gitea#15451
    
    Signed-off-by: Andrew Thornton art27@cantab.net
    Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
    zeripath and lunny committed Apr 15, 2021
    Configuration menu
    Copy the full SHA
    aa9b29c View commit details
    Browse the repository at this point in the history