pgsql: Define PS_USE_CLOBBER_ARGV on GNU/Hurd. - Mailing list pgsql-committers

From Thomas Munro
Subject pgsql: Define PS_USE_CLOBBER_ARGV on GNU/Hurd.
Date
Msg-id E1vKmXp-006xdk-0Q@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Define PS_USE_CLOBBER_ARGV on GNU/Hurd.

Until d2ea2d310dfdc40328aca5b6c52225de78432e01, the PS_USE_PS_STRINGS
option was used on the GNU/Hurd. As this option got removed and
PS_USE_CLOBBER_ARGV appears to work fine nowadays on the Hurd, define
this one to re-enable process title changes on this platform.

In the 14 and 15 branches, the existing test for __hurd__ (added 25
years ago by commit 209aa77d, removed in 16 by the above commit) is left
unchanged for now as it was activating slightly different code paths and
would need investigation by a Hurd user.

Author: Michael Banck <mbanck@debian.org>
Discussion: https://postgr.es/m/CA%2BhUKGJMNGUAqf27WbckYFrM-Mavy0RKJvocfJU%3DJ2XcAZyv%2Bw%40mail.gmail.com
Backpatch-through: 16

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/32b236644d33f6877a2ba0a8e18e17c985f502ce

Modified Files
--------------
src/backend/utils/misc/ps_status.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: David Rowley
Date:
Subject: pgsql: Adjust MemSet macro to use size_t rather than long
Next
From: Thomas Munro
Date:
Subject: pgsql: Define PS_USE_CLOBBER_ARGV on GNU/Hurd.