ShmemInitHash forgot to specify HASH_ALLOC flag bit in its hash_create

Tom Lane <tgl@sss.pgh.pa.us>

Commit: e8aa10ee47cd63300aa979751a7ea75562a645aa
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2003-12-30T00:03:03Z
Releases: 8.0.0
ShmemInitHash forgot to specify HASH_ALLOC flag bit in its hash_create
call.  You'd think this would cause some problems, but because of the
way hash_create is coded, the only side-effect was creation of a useless
memory context for the hashtable.

Files

PathChange+/−
src/backend/storage/ipc/shmem.c modified +2 −2