> On 17 Dec 2025, at 21:02, Daniel Gustafsson <[email protected]> wrote: > > Greenplum already has support for passing a message in the terminate command > doesnt it? Or at least it used to have but perhaps it was ripped out, my > memory is getting a bit fuzzy. > > https://github.com/greenplum-db/gpdb-archive/commit/fa6c2d43d675aa05e2d9f797e3008f6fe075ee2c >
Well, seems like I missed that patch.. Anyway, now I need same functionality in PostgreSQL, and your patch seems interesting, especially in part where you keep messages in separated shmem region. So I adopted your patch, maybe in that form it can be useful for PostgreSQL?
v2-0001-pg_terminate_backend_msg-and-pg_cancel_backend_ms.patch
Description: Binary data
