From 037cc33319d7c23ea6d03fbda41115c5c1da96e3 Mon Sep 17 00:00:00 2001
From: Hayato Kuroda <kuroda.hayato@fujitsu.com>
Date: Thu, 5 Jun 2025 11:52:12 +0900
Subject: [PATCH v2 2/4] pg_config: add -V option

---
 src/bin/pg_config/pg_config.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bin/pg_config/pg_config.c b/src/bin/pg_config/pg_config.c
index 28db024263d..7c2ad204200 100644
--- a/src/bin/pg_config/pg_config.c
+++ b/src/bin/pg_config/pg_config.c
@@ -63,6 +63,7 @@ static const InfoItem info_items[] = {
 	{"--ldflags_sl", "LDFLAGS_SL"},
 	{"--libs", "LIBS"},
 	{"--version", "VERSION"},
+	{"-V", "VERSION"},
 	{NULL, NULL}
 };
 
-- 
2.47.1

