On Thu, Aug 10, 2017 at 9:00 PM, Robert Haas <robertmhaas@gmail.com> wrote:
> On Thu, Aug 10, 2017 at 2:50 AM, Andreas Seltenreich <seltenreich@gmx.de> wrote:
>> Will do. Won't miss this chance to try out discostu's extension
>> pg_rage_terminator[1] :-)
>> [1] https://github.com/disco-stu/pg_rage_terminator
>
> Oh, that's *awesome*.
You can do that at query level using the planner hook:
https://github.com/michaelpq/pg_plugins/tree/master/pg_panic
The PANIC should be lowered to a FATAL though.
--
Michael