"Jeffrey Baker" <jwbaker(at)gmail(dot)com> writes:
> I have a need to find out the meaning of a backend exiting unexpectedly with
> exit code 2. Leafing through the source of 8.1 I can't really find it.
But are you running 8.1? In 8.2 and up this is the expected result from
SIGQUIT.
regards, tom lane