Re: Re[3]: On login trigger: take three
Greg Nancarrow <gregn4422@gmail.com>
From: Greg Nancarrow <gregn4422@gmail.com>
To: vignesh C <vignesh21@gmail.com>
Cc: Ivan Panchenko <wao@mail.ru>, Pavel Stehule <pavel.stehule@gmail.com>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>,
Amit Kapila <amit.kapila16@gmail.com>, Masahiko Sawada <sawada.mshk@gmail.com>,
Konstantin Knizhnik <k.knizhnik@postgrespro.ru>
Date: 2021-07-07T00:55:16Z
Lists: pgsql-hackers
Attachments
- v16-0001-on_client_connect_event_trigger.patch (application/octet-stream) patch v16-0001
On Sun, Jul 4, 2021 at 1:21 PM vignesh C <vignesh21@gmail.com> wrote: > > CFBot shows the following failure: > # poll_query_until timed out executing this query: > # SELECT '0/3046250' <= replay_lsn AND state = 'streaming' FROM > pg_catalog.pg_stat_replication WHERE application_name = 'standby_1'; > # expecting this output: > # t > # last actual query output: > # t > # with stderr: > # NOTICE: You are welcome! > # Looks like your test exited with 29 before it could output anything. > t/001_stream_rep.pl .................. > Dubious, test returned 29 (wstat 7424, 0x1d00) > Thanks. I found that the patch was broken by commit f452aaf7d (the part "adjust poll_query_until to insist on empty stderr as well as a stdout match"). So I had to remove a "RAISE NOTICE" (which was just an informational message) from the login trigger function, to satisfy the new poll_query_until expectations. Also, I updated a PG14 version check (now must check PG15 version). Regards, Greg Nancarrow Fujitsu Australia
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