Use STATEMENT_TIMESTAMP with Postgres
Use STATEMENT_TIMESTAMP with Postgres

Query the current time in UTC using STATEMENT_TIMESTAMP instead of
CURRENT_TIMESTAMP. While CURRENT_TIMESTAMP is arguably more correct
since it always returns the same during a transaction, it will lead
to problems if tests are run inside a transaction and expect the
database time to change during their execution, e.g. membership tests
that disable memberships.

agdsn/pycroft,lukasjuhrich/pycroft,agdsn/pycroft,lukasjuhrich/pycroft,agdsn/pycroft,agdsn/pycroft,agdsn/pycroft,lukasjuhrich/pycroft,lukasjuhrich/pycroft