diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index 6b7903314a..22ce7c07d9 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -2073,6 +2073,9 @@ exec_bind_message(StringInfo input_message) valgrind_report_error_query(debug_query_string); debug_query_string = NULL; + + if (strstr(psrc->query_string, "pg_sleep")) + sleep(1); } /*