aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2024-03-04 10:25:50 +0900
committerMichael Paquier <michael@paquier.xyz>2024-03-04 10:27:50 +0900
commiteca2c1ea85eb22716f93339f4e7cec3145c25723 (patch)
treecb82fbeed2c29ce8731f117ec31669daa03efe68 /src/backend/tcop/postgres.c
parent6782709df81f6c68450172605907fa9ff2b7f2b1 (diff)
downloadpostgresql-eca2c1ea85eb22716f93339f4e7cec3145c25723.tar.gz
postgresql-eca2c1ea85eb22716f93339f4e7cec3145c25723.zip
Add PostgreSQL::Test::Cluster::wait_for_event()
Per a demand from the author and the reviewer of this commit, this adds to Cluster.pm a helper routine that can be used to monitor when a process reaches a wanted wait event. This can be used in combination with the module injection_points for the "wait" callback, though it is not limited to it as this monitors pg_stat_activity for a wait_event and a backend_type. Author: Bertrand Drouvot Reviewed-by: Andrey Borodin Discussion: https://postgr.es/m/ZeBB4RMPEZ06TcdY@ip-10-97-1-34.eu-west-3.compute.internal
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions