simplehash: preserve consistency in case of OOM

Jeff Davis <pgsql@j-davis.com>

From: Jeff Davis <pgsql@j-davis.com>
To: pgsql-hackers@postgresql.org
Date: 2023-11-17T18:42:54Z
Lists: pgsql-hackers

Attachments

Right now, if allocation fails while growing a hashtable, it's left in
an inconsistent state and can't be used again.

Patch attached.


-- 
Jeff Davis
PostgreSQL Contributor Team - AWS


Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. simplehash: preserve consistency in case of OOM.