Re: pgsql: TupleHashTable: store additional data along with tuple.

2025-01-11 Thread Alvaro Herrera
On 2025-Jan-11, Junwang Zhao wrote: > Seems this introduced an indent issue? It should be a whitespace > rather than a tab after the semicolon. Yeah, there's an issue in execGrouping.c as well. -- Álvaro HerreraBreisgau, Deutschland — https://www.EnterpriseDB.com/ Subversion to GIT: t

Re: pgsql: TupleHashTable: store additional data along with tuple.

2025-01-11 Thread Junwang Zhao
Hi Jeff, On Sat, Jan 11, 2025 at 9:32 AM Jeff Davis wrote: > > 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

pgsql: TupleHashTable: store additional data along with tuple.

2025-01-10 Thread Jeff Davis
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 cor