1
0
mirror of https://github.com/timescale/timescaledb.git synced 2025-05-19 12:13:24 +08:00

Set name for COPY insert buffer hash table

Having the hash table named makes debugging easier as the name
is used for the MemoryContext used by the hash table.
This commit is contained in:
Sven Klemm 2023-02-20 13:31:19 +01:00 committed by Sven Klemm
parent 330bb8f4af
commit 0976634399

@ -253,7 +253,7 @@ TSCopyCreateNewInsertBufferHashMap()
.hcxt = CurrentMemoryContext,
};
return hash_create("", 20, &hctl, HASH_ELEM | HASH_CONTEXT | HASH_BLOBS);
return hash_create("COPY insert buffer", 20, &hctl, HASH_ELEM | HASH_CONTEXT | HASH_BLOBS);
}
/*