summaryrefslogtreecommitdiffstats
path: root/src/port/win32ver.rc
diff options
context:
space:
mode:
Diffstat (limited to 'src/port/win32ver.rc')
-rw-r--r--src/port/win32ver.rc35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/port/win32ver.rc b/src/port/win32ver.rc
new file mode 100644
index 0000000..05237f1
--- /dev/null
+++ b/src/port/win32ver.rc
@@ -0,0 +1,35 @@
+#include <winver.h>
+#include "pg_config.h"
+
+// https://docs.microsoft.com/en-us/windows/win32/menurc/versioninfo-resource
+
+VS_VERSION_INFO VERSIONINFO
+ FILEVERSION PG_MAJORVERSION_NUM,0,PG_MINORVERSION_NUM,0
+ PRODUCTVERSION PG_MAJORVERSION_NUM,0,PG_MINORVERSION_NUM,0
+ FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
+ FILEFLAGS 0x0L
+ FILEOS VOS_NT_WINDOWS32
+ FILETYPE VFT_APP
+ FILESUBTYPE 0x0L
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "040904B0" // U.S. English, Unicode
+ BEGIN
+ VALUE "CompanyName", "PostgreSQL Global Development Group"
+ VALUE "FileDescription", FILEDESC
+ VALUE "FileVersion", PG_VERSION
+ VALUE "InternalName", _INTERNAL_NAME_
+ VALUE "LegalCopyright", "Portions Copyright (c) 1996-2023, PostgreSQL Global Development Group. Portions Copyright (c) 1994, Regents of the University of California."
+ VALUE "OriginalFileName", _ORIGINAL_NAME_
+ VALUE "ProductName", "PostgreSQL"
+ VALUE "ProductVersion", PG_VERSION
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x0409, 1200 // U.S. English, Unicode
+ END
+END
+
+_ICO_