git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 34c6e65) | patch
TupleHashTable: store additional data along with tuple.
2025年1月11日 01:14:37 +0000 (17:14 -0800)
2025年1月11日 01:14:37 +0000 (17:14 -0800)
commit e0ece2a981ee9068f50c4423e303836c2585eb02
TupleHashTable: store additional data along with tuple.

Previously, the caller needed to allocate the memory and the
TupleHashTable would store a pointer to it. That wastes space for the
palloc overhead as well as the size of the pointer itself.

Now, the TupleHashTable relies on the caller to correctly specify the
additionalsize, and allocates that amount of space. The caller can
then request a pointer into that space.

Discussion: https://postgr.es/m/b9cbf0219a9859dc8d240311643ff4362fd9602c.camel@j-davis.com
Reviewed-by: Heikki Linnakangas
src/backend/executor/execGrouping.c diff | blob | blame | history
src/backend/executor/nodeAgg.c diff | blob | blame | history
src/backend/executor/nodeSetOp.c diff | blob | blame | history
src/backend/executor/nodeSubplan.c diff | blob | blame | history
src/include/executor/executor.h diff | blob | blame | history
src/include/nodes/execnodes.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /