send_abort_for_crash

A system parameter determining whether to send SIGABRT to child processes
This entry relates to a PostgreSQL feature which is part of PostgreSQL 16, due to be released in late 2023.

send_abort_for_crash is a configuration parameter determining, following a backend crash, whether to send SIGABRT to child processes in place of the usual SIGQUIT.

send_abort_for_crash was added in PostgreSQL 16.

Default value

The default value for send_abort_for_crash is: off.

Usage

In normal operation, following a backend crash the postmaster sends SIGQUIT to child processes, causing them to exit reasonably gracefully.

If send_abort_for_crash is set to "on", SIGABRT will be sent instead, which, if the local system is configured to do so, will result in core dumps being generated for all child processes terminated with SIGQUIT.

This option is intended for development purposes and should not be enabled in production.

Note that from PostgreSQL 16, the postmaster -T option has the same effect.

Change history

Categories

Dangerous thing, Development/testing, GUC configuration item

See also

send_abort_for_kill