OSDN Git Service

Pad the ps_status display with nulls, not blanks, on Darwin.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 4 Sep 2010 17:46:03 +0000 (17:46 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 4 Sep 2010 17:46:03 +0000 (17:46 +0000)
commitb74f7751420bae9e47961ad08e92b1fb5879fc6d
treefa4e4f948938f2c84f5e8210cf0d5b685414e4c3
parenta2145a5b4331be788d5391eb4636751e0033d68f
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.
src/backend/utils/misc/ps_status.c