so 14. 1. 2023 v 22:56 odesílatel Mikhail Gribkov <youzhick@gmail.com> napsal:
Hi Pavel,
Thanks for pointing out the tests. I completely agree that using an exception inside on-login trigger should be tested. It cannot be done via regular *.sql/*.out regress tests, thus I have added another perl test to authentication group doing this.
Attached v36 patch contains this test along with the fresh rebase on master.
I think raising an exception inside should be better tested - not it is only in 001_stream_rep.pl - generally more tests are welcome - there are no tested handling exceptions.