mirror of https://github.com/postgres/postgres
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
This commit is contained in:
parent
58fbbc9d68
commit
4b885d01f9
|
@ -37,9 +37,3 @@ DROP TABLE user_logins;
|
|||
DROP EVENT TRIGGER on_login_trigger;
|
||||
DROP FUNCTION on_login_proc();
|
||||
\c
|
||||
SELECT dathasloginevt FROM pg_database WHERE datname= :'DBNAME';
|
||||
dathasloginevt
|
||||
----------------
|
||||
f
|
||||
(1 row)
|
||||
|
||||
|
|
|
@ -22,4 +22,3 @@ DROP TABLE user_logins;
|
|||
DROP EVENT TRIGGER on_login_trigger;
|
||||
DROP FUNCTION on_login_proc();
|
||||
\c
|
||||
SELECT dathasloginevt FROM pg_database WHERE datname= :'DBNAME';
|
||||
|
|
Loading…
Reference in New Issue