From b6a5158f98fd5158f66943d721061418f183b370 Mon Sep 17 00:00:00 2001
From: Noah Misch <noah@leadboat.com>
Date: Sun, 3 Jul 2022 13:07:17 -0700
Subject: [PATCH] Add Windows file version information to libpq/test programs.

Back-patch to v15, the first version to install these programs.

Discussion: https://postgr.es/m/20220501080706.GA1542365@rfd.leadboat.com
---
 src/interfaces/libpq/test/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/interfaces/libpq/test/Makefile b/src/interfaces/libpq/test/Makefile
index 1f75b73b8c..75ac08f943 100644
--- a/src/interfaces/libpq/test/Makefile
+++ b/src/interfaces/libpq/test/Makefile
@@ -1,5 +1,8 @@
 # src/interfaces/libpq/test/Makefile
 
+PGFILEDESC = "libpq test program"
+PGAPPICON = win32
+
 subdir = src/interfaces/libpq/test
 top_builddir = ../../../..
 include $(top_builddir)/src/Makefile.global
@@ -15,5 +18,7 @@ PROGS = libpq_testclient libpq_uri_regress
 
 all: $(PROGS)
 
+$(PROGS): $(WIN32RES)
+
 clean distclean maintainer-clean:
 	rm -f $(PROGS) *.o