pgsql: Incorporate a couple of recent tuplesort.c improvements into

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Incorporate a couple of recent tuplesort.c improvements into
Date: 2006-03-04 19:30:12
Message-ID: 20060304193012.880DD9DCE13@postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Incorporate a couple of recent tuplesort.c improvements into tuplestore.c.
In particular, ensure that enlargement of the memtuples[] array doesn't
fall foul of MaxAllocSize when work_mem is very large, and don't bother
enlarging it if that would force an immediate switch into 'tape' mode anyway.

Modified Files:
--------------
pgsql/src/backend/utils/sort:
tuplestore.c (r1.25 -> r1.26)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/sort/tuplestore.c.diff?r1=1.25&r2=1.26)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2006-03-04 21:32:47 pgsql: Declare the arguments of AllocateFile() as const char *, not char
Previous Message Tom Lane 2006-03-04 19:09:23 pgsql: Prevent lazy_space_alloc from making requests that exceed