Re: On login trigger: take three
Gregory Stark (as CFM) <stark.cfm@gmail.com>
From: "Gregory Stark (as CFM)" <stark.cfm@gmail.com>
To: Mikhail Gribkov <youzhick@gmail.com>
Cc: Pavel Stehule <pavel.stehule@gmail.com>, Ted Yu <yuzhihong@gmail.com>, Nikita Malakhov <hukutoc@gmail.com>,
PostgreSQL Hackers <pgsql-hackers@postgresql.org>, Ian Lawrence Barwick <barwick@gmail.com>,
Daniel Gustafsson <daniel@yesql.se>, Sergey Shinderuk <s.shinderuk@postgrespro.ru>, Ivan Panchenko <wao@mail.ru>, Andres Freund <andres@anarazel.de>, Tom Lane <tgl@sss.pgh.pa.us>, Greg Nancarrow <gregn4422@gmail.com>, Teodor Sigaev <teodor@sigaev.ru>, Ibrar Ahmed <ibrar.ahmad@gmail.com>, vignesh C <vignesh21@gmail.com>, Amit Kapila <amit.kapila16@gmail.com>,
Masahiko Sawada <sawada.mshk@gmail.com>
Date: 2023-03-15T17:44:41Z
Lists: pgsql-hackers
It looks like the patch is failing a test by not dumping login_event_trigger_func? I'm guessing there's a race condition in the test but I don't know. I also don't see the tmp_test_jI6t output file being preserved in the artifacts anywhere :( https://cirrus-ci.com/task/6391161871400960?logs=test_world#L2671 [16:16:48.594] # Looks like you failed 1 test of 10350. # Running: pg_dump --no-sync --file=/tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/tmp_test_jI6t/only_dump_measurement.sql --table-and-children=dump_test.measurement --lock-wait-timeout=180000 postgres [16:16:27.027](0.154s) ok 6765 - only_dump_measurement: pg_dump runs ..... [16:16:27.035](0.000s) not ok 6870 - only_dump_measurement: should dump CREATE FUNCTION dump_test.login_event_trigger_func [16:16:27.035](0.000s) [16:16:27.035](0.000s) # Failed test 'only_dump_measurement: should dump CREATE FUNCTION dump_test.login_event_trigger_func' # at t/002_pg_dump.pl line 4761. ..... [16:16:48.594] +++ tap check in src/bin/pg_dump +++ [16:16:48.594] [16:16:05] t/001_basic.pl ................ ok 612 ms ( 0.01 usr 0.00 sys + 0.24 cusr 0.26 csys = 0.51 CPU) [16:16:48.594] [16:16:48.594] # Failed test 'only_dump_measurement: should dump CREATE FUNCTION dump_test.login_event_trigger_func' [16:16:48.594] # at t/002_pg_dump.pl line 4761. [16:16:48.594] # Review only_dump_measurement results in /tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/tmp_test_jI6t
Commits
-
Fix some typos in event trigger docs
- 5fce30e77fe1 17.0 landed
-
Use heap_inplace_update() to unset pg_database.dathasloginevt
- 8be93177c46b 17.0 landed
-
Remove the flaky check in event_trigger_login regression test
- 4b885d01f967 17.0 landed
-
Fix instable 006_login_trigger.pl test
- 06be01eb266b 17.0 landed
-
Add support event triggers on authenticated login
- e83d1b0c40cc 17.0 landed
-
Add GUC for temporarily disabling event triggers
- 7750fefdb2b8 17.0 landed
-
Fix typo in reference to __FreeBSD__.
- e52f8b301ed5 16.0 cited
-
Restore robustness of TAP tests that wait for postmaster restart.
- f452aaf7d4a9 14.0 cited
-
Restore the portal-level snapshot after procedure COMMIT/ROLLBACK.
- 84f5c2908dad 14.0 cited