Thread: pgsql: Avoid overflow in cost_sort when work_mem exceeds 1Gb.

pgsql: Avoid overflow in cost_sort when work_mem exceeds 1Gb.

From
tgl@svr1.postgresql.org (Tom Lane)
Date:
Log Message:
-----------
Avoid overflow in cost_sort when work_mem exceeds 1Gb.

Modified Files:
--------------
    pgsql/src/backend/optimizer/path:
        costsize.c (r1.134 -> r1.135)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/path/costsize.c.diff?r1=1.134&r2=1.135)