pgsql: Fix some minor errors in new PHJ code. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix some minor errors in new PHJ code.
Date
Msg-id E1eWnEg-0002jl-55@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix some minor errors in new PHJ code.

Correct ExecParallelHashTuplePrealloc's estimate of whether the
space_allowed limit is exceeded.  Be more consistent about tuples that
are exactly HASH_CHUNK_THRESHOLD in size (they're "small", not "large").
Neither of these things explain the current buildfarm unhappiness, but
they're still bugs.

Thomas Munro, per gripe by me

Discussion: https://postgr.es/m/CAEepm=34PDuR69kfYVhmZPgMdy8pSA-MYbpesEN1SR+2oj3Y+w@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6fcde24063047c1195d023dfa08309302987cdcf

Modified Files
--------------
src/backend/executor/nodeHash.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Teach eval_const_expressions() to handle some more cases.
Next
From: Tom Lane
Date:
Subject: Re: pgsql: Add parallel-aware hash joins.