Thread: pgsql: Reduce the default size of the PortalHashTable in order to save a

pgsql: Reduce the default size of the PortalHashTable in order to save a

From
tgl@svr1.postgresql.org (Tom Lane)
Date:
Log Message:
-----------
Reduce the default size of the PortalHashTable in order to save a
few cycles during transaction exit.  A typical session probably
wouldn't have as many as half a dozen portals open at once, so the
original value of 64 seems far larger than needed.

Modified Files:
--------------
    pgsql/src/backend/utils/mmgr:
        portalmem.c (r1.74 -> r1.75)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/mmgr/portalmem.c.diff?r1=1.74&r2=1.75)