diff -U3 /Users/admin/pgsql/src/test/modules/injection_points/expected/injection_points.out /Users/admin/pgsql/build/testrun/injection_points/regress/results/injection_points.out --- /Users/admin/pgsql/src/test/modules/injection_points/expected/injection_points.out 2024-04-24 09:26:14 +++ /Users/admin/pgsql/build/testrun/injection_points/regress/results/injection_points.out 2024-04-24 09:30:32 @@ -174,39 +174,11 @@ (1 row) +WARNING: terminating connection because of crash of another server process +DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory. +HINT: In a moment you should be able to reconnect to the database and repeat your command. SELECT injection_points_run('TestConditionLocal1'); -- nothing - injection_points_run ----------------------- - -(1 row) - -SELECT injection_points_run('TestConditionLocal2'); -- nothing - injection_points_run ----------------------- - -(1 row) - -SELECT injection_points_run('TestConditionError'); -- error -ERROR: error triggered for injection point TestConditionError -SELECT injection_points_detach('TestConditionError'); - injection_points_detach -------------------------- - -(1 row) - --- Attaching injection points that use the same name as one defined locally --- previously should work. -SELECT injection_points_attach('TestConditionLocal1', 'error'); - injection_points_attach -------------------------- - -(1 row) - -SELECT injection_points_detach('TestConditionLocal1'); - injection_points_detach -------------------------- - -(1 row) - -DROP EXTENSION injection_points; -DROP FUNCTION wait_pid; +server closed the connection unexpectedly + This probably means the server terminated abnormally + before or while processing the request. +connection to server was lost