simplehash: preserve consistency in case of OOM - Mailing list pgsql-hackers

From Jeff Davis
Subject simplehash: preserve consistency in case of OOM
Date
Msg-id ac56a219dddbe58019f7125f68dd2e17867f7386.camel@j-davis.com
Whole thread Raw
Responses Re: simplehash: preserve consistency in case of OOM
List pgsql-hackers
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



Attachment

pgsql-hackers by date:

Previous
From: Paul Jungwirth
Date:
Subject: Re: SQL:2011 application time
Next
From: Peter Eisentraut
Date:
Subject: Re: Allow tests to pass in OpenSSL FIPS mode