]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Backpatch: Fix warnings about declaration of environ on MinGW
authorAndres Freund <andres@anarazel.de>
Tue, 4 Nov 2025 18:24:58 +0000 (13:24 -0500)
committerAndres Freund <andres@anarazel.de>
Tue, 4 Nov 2025 18:24:58 +0000 (13:24 -0500)
commit371d40c1a3ff8e29f6d38120eb67997b8d83f636
tree9486ff1a4cc44f7f4c47ff6bf51304af6892e476
parent2c56b7069519126b64cf0e55747133c3df3079ad
Backpatch: Fix warnings about declaration of environ on MinGW

Backpatch commit 7bc9a8bdd2d to 13-17. The motivation for backpatching is that
we want to update CI to Debian Trixie. Trixie contains a newer mingw
installation, which would trigger the warning addressed by 7bc9a8bdd2d. The
risk of backpatching seems fairly low, given that it did not cause issues in
the branches the commit is already present.

While CI is not present in 13-14, it seems better to be consistent across
branches.

Author: Thomas Munro <tmunro@postgresql.org>
Discussion: https://postgr.es/m/o5yadhhmyjo53svzwvaocww6zkrp63i4f32cw3treuh46pxtza@hyqio5b2tkt6
Backpatch-through: 13
src/backend/postmaster/postmaster.c
src/backend/utils/misc/ps_status.c
src/test/regress/regress.c