Define PS_USE_CLOBBER_ARGV on GNU/Hurd.

Thomas Munro <tmunro@postgresql.org>

Commit: 29a3e22f3568478ce0d887c63dc03c2bda9dfa53
Author: Thomas Munro <tmunro@postgresql.org>
Date: 2025-11-17T22:21:15Z
Releases: 14.21
Define PS_USE_CLOBBER_ARGV on GNU/Hurd.

This is a backpatch of 32b23664 to v14 and v15.

* Remove ancient test for __hurd__, which intended to activate
  PS_USE_CHANGE_ARGV in these branches but turned out not to be
  defined on modern systems.

* Add new test for__GNU__ to activate PS_USE_CLOBBER_ARGV, like the
  newer branches.

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

Files

PathChange+/−
src/backend/utils/misc/ps_status.c modified +3 −3

Discussion