| From: | Michael Paquier <michael(dot)paquier(at)gmail(dot)com> |
|---|---|
| To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
| Cc: | Andreas Seltenreich <seltenreich(at)gmx(dot)de>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Jeevan Chalke <jeevan(dot)chalke(at)enterprisedb(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Server crash (FailedAssertion) due to catcache refcount mis-handling |
| Date: | 2017-08-10 23:06:46 |
| Message-ID: | CAB7nPqTny-H__2HO-XS3S9Us0CE27SKo+Ww_T_0RiWsZ72RDBg@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Thu, Aug 10, 2017 at 9:00 PM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
> On Thu, Aug 10, 2017 at 2:50 AM, Andreas Seltenreich <seltenreich(at)gmx(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Thomas Munro | 2017-08-10 23:13:18 | Re: Thoughts on unit testing? |
| Previous Message | Peter Geoghegan | 2017-08-10 22:57:37 | Re: Getting server crash on Windows when using ICU collation |