pgsql: Pad the ps_status display with nulls, not blanks, on Darwin.

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Pad the ps_status display with nulls, not blanks, on Darwin.
Date: 2010-09-04 17:45:56
Message-ID: 20100904174556.BDA377541E2@cvs.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Pad the ps_status display with nulls, not blanks, on Darwin.

A long time ago, this didn't work nicely, but it seems to work on all recent
versions of OS X. The blank-pad method is less desirable since it results
in lots of extra space in ps' output. Per Alexey Klyukin.

Modified Files:
--------------
pgsql/src/backend/utils/misc:
ps_status.c (r1.42 -> r1.43)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/misc/ps_status.c?r1=1.42&r2=1.43)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2010-09-04 17:46:03 pgsql: Pad the ps_status display with nulls, not blanks, on Darwin.
Previous Message Tom Lane 2010-09-03 01:34:55 pgsql: Install a data-type-based solution for protecting pg_get_expr().