Subject: [PATCH v9a 19/22] ci: windows-mingw, also setup hosts file

From: Andres Freund <[email-masked]>
Date: Wed, 3 Jun 2026 13:49:29 -0400

---
 .github/workflows/pg-ci.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/pg-ci.yml b/.github/workflows/pg-ci.yml
index 3d8845bbda6..adb5ef5780e 100644
--- a/.github/workflows/pg-ci.yml
+++ b/.github/workflows/pg-ci.yml
@@ -846,7 +846,8 @@ jobs:
           if (!$?) { throw 'cmdfail' }
           echo ::endgroup::
 
-      - name: Setup hosts file
+      - &window_setup_hosts_step
+        name: Setup hosts file
         shell: pwsh
         run: |
           Add-Content c:\Windows\System32\Drivers\etc\hosts "127.0.0.1 pg-loadbalancetest"
@@ -922,6 +923,7 @@ jobs:
 
     steps:
       - *windows_disable_defender_step
+      - *window_setup_hosts_step
       - *checkout_step
 
       # Relocate the preinstalled MSYS2 tree from C:\ (slow system disk) to
-- 
2.54.0.380.gc69baaf57b

--lyfxwjjve3vodszg
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment;
	filename="v9a-0020-ci-Collect-config.log-from-autoconf-builds-after.patch"