|
9 | 9 | * |
10 | 10 | * |
11 | 11 | * IDENTIFICATION |
12 | | - * $PostgreSQL: pgsql/src/backend/utils/hash/dynahash.c,v 1.49 2003/11/2919:52:01 pgsql Exp $ |
| 12 | + * $PostgreSQL: pgsql/src/backend/utils/hash/dynahash.c,v 1.50 2003/12/2923:54:22 tgl Exp $ |
13 | 13 | * |
14 | 14 | *------------------------------------------------------------------------- |
15 | 15 | */ |
@@ -148,7 +148,7 @@ hash_create(const char *tabname, long nelem, HASHCTL *info, int flags) |
148 | 148 | { |
149 | 149 | /* |
150 | 150 | * ctl structure is preallocated for shared memory tables. Note |
151 | | - * that HASH_DIRSIZE had better be set as well. |
| 151 | + * that HASH_DIRSIZEand HASH_ALLOChad better be set as well. |
152 | 152 | */ |
153 | 153 | hashp->hctl=info->hctl; |
154 | 154 | hashp->dir=info->dir; |
@@ -220,7 +220,7 @@ hash_create(const char *tabname, long nelem, HASHCTL *info, int flags) |
220 | 220 | { |
221 | 221 | /* remaining hash table structures live in child of given context */ |
222 | 222 | hashp->hcxt=AllocSetContextCreate(CurrentDynaHashCxt, |
223 | | -"DynaHashTable", |
| 223 | +tabname, |
224 | 224 | ALLOCSET_DEFAULT_MINSIZE, |
225 | 225 | ALLOCSET_DEFAULT_INITSIZE, |
226 | 226 | ALLOCSET_DEFAULT_MAXSIZE); |
|