Right now, if allocation fails while growing a hashtable, it's left inan inconsistent state and can't be used again.
Patch attached.
-- Jeff DavisPostgreSQL Contributor Team - AWS