aboutsummaryrefslogtreecommitdiff
path: root/src/backend/jit/llvm/llvmjit_expr.c
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2021-04-08 11:32:14 +0200
committerMagnus Hagander <magnus@hagander.net>2021-04-08 11:40:54 +0200
commitaaf043257205ec523f1ba09a3856464d17cf2281 (patch)
tree61ed249bb2622454f53511d051dc1508980ab8e3 /src/backend/jit/llvm/llvmjit_expr.c
parentfb310f17812e7321599845a29af2f36c7f1191c3 (diff)
downloadpostgresql-aaf043257205ec523f1ba09a3856464d17cf2281.tar.gz
postgresql-aaf043257205ec523f1ba09a3856464d17cf2281.zip
Add functions to wait for backend termination
This adds a function, pg_wait_for_backend_termination(), and a new timeout argument to pg_terminate_backend(), which will wait for the backend to actually terminate (with or without signaling it to do so depending on which function is called). The default behaviour of pg_terminate_backend() remains being timeout=0 which does not waiting. For pg_wait_for_backend_termination() the default wait is 5 seconds. Author: Bharath Rupireddy Reviewed-By: Fujii Masao, David Johnston, Muhammad Usama, Hou Zhijie, Magnus Hagander Discussion: https://postgr.es/m/CALj2ACUBpunmyhYZw-kXCYs5NM+h6oG_7Df_Tn4mLmmUQifkqA@mail.gmail.com
Diffstat (limited to 'src/backend/jit/llvm/llvmjit_expr.c')
0 files changed, 0 insertions, 0 deletions