Fix documentation about DROP DATABASE FORCE process termination rights.
authorNoah Misch <noah@leadboat.com>
Thu, 16 May 2024 21:11:00 +0000 (14:11 -0700)
committerNoah Misch <noah@leadboat.com>
Thu, 16 May 2024 21:11:14 +0000 (14:11 -0700)
commit9489f3c6e8cdee1c193c511b523ef9c20deed208
tree5e8f7f83a6eeafed5bda3d4c1e3aeb4d45f615e5
parent2e2b2d076ab62c7850aaca65d1b575f602a9ce6d
Fix documentation about DROP DATABASE FORCE process termination rights.

Specifically, it terminates a background worker even if the caller
couldn't terminate the background worker with pg_terminate_backend().
Commit 3a9b18b3095366cd0c4305441d426d04572d88c1 neglected to update
this.  Back-patch to v13, which introduced DROP DATABASE FORCE.

Reviewed by Amit Kapila.  Reported by Kirill Reshke.

Discussion: https://postgr.es/m/20240429212756.60.nmisch@google.com
doc/src/sgml/ref/drop_database.sgml
src/backend/storage/ipc/procarray.c