pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Define PS_USE_CLOBBER_ARGV on GNU/Hurd.
6+ messages / 1 participants
[nested] [flat]

* pgsql: Define PS_USE_CLOBBER_ARGV on GNU/Hurd.
@ 2025-11-16 23:52  Thomas Munro <tmunro@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Thomas Munro @ 2025-11-16 23:52 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Define PS_USE_CLOBBER_ARGV on GNU/Hurd.
@ 2025-11-16 23:52  Thomas Munro <tmunro@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Thomas Munro @ 2025-11-16 23:52 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/bcfca332f100061e056283f237df009f570aff8b

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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Define PS_USE_CLOBBER_ARGV on GNU/Hurd.
@ 2025-11-16 23:53  Thomas Munro <tmunro@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Thomas Munro @ 2025-11-16 23:53 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
REL_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/d66a922f9247ceaa6caed9b51ce686f12e280091

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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Define PS_USE_CLOBBER_ARGV on GNU/Hurd.
@ 2025-11-16 23:53  Thomas Munro <tmunro@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Thomas Munro @ 2025-11-16 23:53 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/a1407daded69d7b01a96dde648dc5e2246ddefcc

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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Define PS_USE_CLOBBER_ARGV on GNU/Hurd.
@ 2025-11-17 22:22  Thomas Munro <tmunro@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Thomas Munro @ 2025-11-17 22:22 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/3995e4a9d8c6870aa3bc817c62a1b6678f3ad318

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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Define PS_USE_CLOBBER_ARGV on GNU/Hurd.
@ 2025-11-17 22:22  Thomas Munro <tmunro@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Thomas Munro @ 2025-11-17 22:22 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/29a3e22f3568478ce0d887c63dc03c2bda9dfa53

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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2025-11-17 22:22 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2025-11-16 23:52 pgsql: Define PS_USE_CLOBBER_ARGV on GNU/Hurd. Thomas Munro <tmunro@postgresql.org>
2025-11-16 23:52 pgsql: Define PS_USE_CLOBBER_ARGV on GNU/Hurd. Thomas Munro <tmunro@postgresql.org>
2025-11-16 23:53 pgsql: Define PS_USE_CLOBBER_ARGV on GNU/Hurd. Thomas Munro <tmunro@postgresql.org>
2025-11-16 23:53 pgsql: Define PS_USE_CLOBBER_ARGV on GNU/Hurd. Thomas Munro <tmunro@postgresql.org>
2025-11-17 22:22 pgsql: Define PS_USE_CLOBBER_ARGV on GNU/Hurd. Thomas Munro <tmunro@postgresql.org>
2025-11-17 22:22 pgsql: Define PS_USE_CLOBBER_ARGV on GNU/Hurd. Thomas Munro <tmunro@postgresql.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox