Re: hash_search and out of memory - Mailing list pgsql-hackers

From Tom Lane
Subject Re: hash_search and out of memory
Date
Msg-id 25757.1350568589@sss.pgh.pa.us
Whole thread Raw
In response to hash_search and out of memory  (Hitoshi Harada <umi.tanuki@gmail.com>)
Responses Re: hash_search and out of memory  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hitoshi Harada <umi.tanuki@gmail.com> writes:
> If OOM happens during expand_table() in hash_search_with_hash_value()
> for RelationCacheInsert,

What OOM?  expand_table is supposed to return without doing anything
if it can't expand the table.  If that's not happening, that's a bug
in the hash code.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: [RFC][PATCH] wal decoding, attempt #2 - Design Documents (really attached)
Next
From: Alvaro Herrera
Date:
Subject: Re: September 2012 commitfest