ShmemInitHash forgot to specify HASH_ALLOC flag bit in its hash_create
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/storage/ipc/shmem.c | modified | +2 −2 |