Thread: pgsql: Reduce the amount of memory "clobbered" for every process title

pgsql: Reduce the amount of memory "clobbered" for every process title

From
momjian@postgresql.org (Bruce Momjian)
Date:
Log Message:
-----------
Reduce the amount of memory "clobbered" for every process title change,
on platforms that need this.  This is done by only writing past the
previously stored message, if it was longer.

Modified Files:
--------------
    pgsql/src/backend/utils/misc:
        ps_status.c (r1.34 -> r1.35)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/misc/ps_status.c.diff?r1=1.34&r2=1.35)