Fix some minor errors in new PHJ code.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 3 Jan 2018 17:53:49 +0000 (12:53 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 3 Jan 2018 17:53:49 +0000 (12:53 -0500)
commit6fcde24063047c1195d023dfa08309302987cdcf
tree73209251382a0ce173b6e82988d385f5cabae3ea
parent3decd150a2d5a8f8d43010dd0c207746ba946303
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
src/backend/executor/nodeHash.c