Andres Freund <andres(at)anarazel(dot)de> writes:
> On 2017-10-05 19:42:30 -0400, Tom Lane wrote:
>> https://www.postgresql.org/message-id/26365.1162532453%40sss.pgh.pa.us
> Just ran this, got out-of-memory error, and then another out-of-memory
> error, ... I wonder if we should exclude out_of_memory from OTHERS,
> like we do QUERY_CANCELED and ASSERT_FAILURE.
Nah; that presupposes that if a subquery runs out of memory then the
surrounding function is necessarily broken. I don't buy that.
regards, tom lane