Remove the flaky check in event_trigger_login regression test

Alexander Korotkov <akorotkov@postgresql.org>

Commit: 4b885d01f9676f62d8b8156e45282c631181369f
Author: Alexander Korotkov <akorotkov@postgresql.org>
Date: 2024-01-17T21:16:53Z
Releases: 17.0
Remove the flaky check in event_trigger_login regression test

The query checks that pg_database.dathasloginevt is unset on connect when
there are no event triggers.  However, unsetting this flag is implemented in
a non-blocking way, so a concurrent autovacuum connection breaks this check.
It doesn't seem we can do much with this, at least within a regression test.
So, remove it.

Reported-by: Alexander Lakhin
Discussion: https://postgr.es/m/44807d19-81a6-3884-3e0f-22dd99aac3ed%40gmail.com

Files

Discussion