Skip to content

Commit 0ffc201

Browse files
committed
Add file version information to most installed Windows binaries.
Prominent binaries already had this metadata. A handful of minor binaries, such as pg_regress.exe, still lack it; efforts to eliminate such exceptions are welcome. Michael Paquier, reviewed by MauMau.
1 parent c0e8fb6 commit 0ffc201

File tree

93 files changed

+147
-55
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+147
-55
lines changed

contrib/adminpack/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
# contrib/adminpack/Makefile
22

33
MODULE_big = adminpack
4-
OBJS = adminpack.o
4+
OBJS = adminpack.o $(WIN32RES)
55
PG_CPPFLAGS = -I$(libpq_srcdir)
66

77
EXTENSION = adminpack
88
DATA = adminpack--1.0.sql
9+
PGFILEDESC = "adminpack - support functions for pgAdmin"
910

1011
ifdef USE_PGXS
1112
PG_CONFIG = pg_config

contrib/auth_delay/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# contrib/auth_delay/Makefile
22

33
MODULES = auth_delay
4+
PGFILEDESC = "auth_delay - delay authentication failure reports"
45

56
ifdef USE_PGXS
67
PG_CONFIG = pg_config

contrib/auto_explain/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# contrib/auto_explain/Makefile
22

33
MODULE_big = auto_explain
4-
OBJS = auto_explain.o
4+
OBJS = auto_explain.o $(WIN32RES)
5+
PGFILEDESC = "auto_explain - logging facility for execution plans"
56

67
ifdef USE_PGXS
78
PG_CONFIG = pg_config

contrib/btree_gin/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# contrib/btree_gin/Makefile
22

33
MODULE_big = btree_gin
4-
OBJS = btree_gin.o
4+
OBJS = btree_gin.o $(WIN32RES)
55

66
EXTENSION = btree_gin
77
DATA = btree_gin--1.0.sql btree_gin--unpackaged--1.0.sql
8+
PGFILEDESC = "btree_gin - B-tree equivalent GIN operator classes"
89

910
REGRESS = install_btree_gin int2 int4 int8 float4 float8 money oid \
1011
timestamp timestamptz time timetz date interval \

contrib/btree_gist/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@ OBJS = btree_gist.o btree_utils_num.o btree_utils_var.o btree_int2.o \
66
btree_int4.o btree_int8.o btree_float4.o btree_float8.o btree_cash.o \
77
btree_oid.o btree_ts.o btree_time.o btree_date.o btree_interval.o \
88
btree_macaddr.o btree_inet.o btree_text.o btree_bytea.o btree_bit.o \
9-
btree_numeric.o
9+
btree_numeric.o $(WIN32RES)
1010

1111
EXTENSION = btree_gist
1212
DATA = btree_gist--1.0.sql btree_gist--unpackaged--1.0.sql
13+
PGFILEDESC = "btree_gist - B-tree equivalent GIST operator classes"
1314

1415
REGRESS = init int2 int4 int8 float4 float8 cash oid timestamp timestamptz \
1516
time timetz date interval macaddr inet cidr text varchar char bytea \

contrib/chkpass/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# contrib/chkpass/Makefile
22

33
MODULE_big = chkpass
4-
OBJS = chkpass.o
4+
OBJS = chkpass.o $(WIN32RES)
55

66
EXTENSION = chkpass
77
DATA = chkpass--1.0.sql chkpass--unpackaged--1.0.sql
8+
PGFILEDESC = "chkpass - encrypted password data type"
89

910
SHLIB_LINK = $(filter -lcrypt, $(LIBS))
1011

contrib/citext/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ MODULES = citext
44

55
EXTENSION = citext
66
DATA = citext--1.0.sql citext--unpackaged--1.0.sql
7+
PGFILEDESC = "citext - case-insensitive character string data type"
78

89
REGRESS = citext
910

contrib/cube/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# contrib/cube/Makefile
22

33
MODULE_big = cube
4-
OBJS= cube.o cubeparse.o
4+
OBJS= cube.o cubeparse.o $(WIN32RES)
55

66
EXTENSION = cube
77
DATA = cube--1.0.sql cube--unpackaged--1.0.sql
8+
PGFILEDESC = "cube - multidimensional cube data type"
89

910
REGRESS = cube
1011

contrib/dblink/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
# contrib/dblink/Makefile
22

33
MODULE_big = dblink
4-
OBJS = dblink.o
4+
OBJS = dblink.o $(WIN32RES)
55
PG_CPPFLAGS = -I$(libpq_srcdir)
66
SHLIB_LINK = $(libpq)
77
SHLIB_PREREQS = submake-libpq
88

99
EXTENSION = dblink
1010
DATA = dblink--1.1.sql dblink--1.0--1.1.sql dblink--unpackaged--1.0.sql
11+
PGFILEDESC = "dblink - connect to other PostgreSQL databases"
1112

1213
REGRESS = dblink
1314

contrib/dict_int/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# contrib/dict_int/Makefile
22

33
MODULE_big = dict_int
4-
OBJS = dict_int.o
4+
OBJS = dict_int.o $(WIN32RES)
55

66
EXTENSION = dict_int
77
DATA = dict_int--1.0.sql dict_int--unpackaged--1.0.sql
8+
PGFILEDESC = "dict_int - add-on dictionary template for full-text search"
89

910
REGRESS = dict_int
1011

contrib/dict_xsyn/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
# contrib/dict_xsyn/Makefile
22

33
MODULE_big = dict_xsyn
4-
OBJS = dict_xsyn.o
4+
OBJS = dict_xsyn.o $(WIN32RES)
55

66
EXTENSION = dict_xsyn
77
DATA = dict_xsyn--1.0.sql dict_xsyn--unpackaged--1.0.sql
88
DATA_TSEARCH = xsyn_sample.rules
9+
PGFILEDESC = "dict_xsyn - add-on dictionary template for full-text search"
910

1011
REGRESS = dict_xsyn
1112

contrib/dummy_seclabel/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# contrib/dummy_seclabel/Makefile
22

33
MODULES = dummy_seclabel
4+
PGFILEDESC = "dummy_seclabel - regression testing of the SECURITY LABEL statement"
45

56
ifdef USE_PGXS
67
PG_CONFIG = pg_config

contrib/earthdistance/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ MODULES = earthdistance
44

55
EXTENSION = earthdistance
66
DATA = earthdistance--1.0.sql earthdistance--unpackaged--1.0.sql
7+
PGFILEDESC = "earthdistance - calculate distances on the surface of the Earth"
78

89
REGRESS = earthdistance
910
REGRESS_OPTS = --extra-install=contrib/cube

contrib/file_fdw/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ MODULES = file_fdw
44

55
EXTENSION = file_fdw
66
DATA = file_fdw--1.0.sql
7+
PGFILEDESC = "file_fdw - foreign data wrapper for files"
78

89
REGRESS = file_fdw
910

contrib/fuzzystrmatch/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# contrib/fuzzystrmatch/Makefile
22

33
MODULE_big = fuzzystrmatch
4-
OBJS = fuzzystrmatch.o dmetaphone.o
4+
OBJS = fuzzystrmatch.o dmetaphone.o $(WIN32RES)
55

66
EXTENSION = fuzzystrmatch
77
DATA = fuzzystrmatch--1.0.sql fuzzystrmatch--unpackaged--1.0.sql
8+
PGFILEDESC = "fuzzystrmatch - similarities and distance between strings"
89

910
ifdef USE_PGXS
1011
PG_CONFIG = pg_config

contrib/hstore/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22

33
MODULE_big = hstore
44
OBJS = hstore_io.o hstore_op.o hstore_gist.o hstore_gin.o hstore_compat.o \
5-
crc32.o
5+
crc32.o $(WIN32RES)
66

77
EXTENSION = hstore
88
DATA = hstore--1.3.sql hstore--1.2--1.3.sql \
99
hstore--1.1--1.2.sql hstore--1.0--1.1.sql \
1010
hstore--unpackaged--1.0.sql
11+
PGFILEDESC = "hstore - key/value pair data type"
1112

1213
REGRESS = hstore
1314

contrib/intarray/Makefile

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
# contrib/intarray/Makefile
22

33
MODULE_big = _int
4-
OBJS = _int_bool.o _int_gist.o _int_op.o _int_tool.o _intbig_gist.o _int_gin.o
4+
OBJS = _int_bool.o _int_gist.o _int_op.o _int_tool.o \
5+
_intbig_gist.o _int_gin.o $(WIN32RES)
56

67
EXTENSION = intarray
78
DATA = intarray--1.0.sql intarray--unpackaged--1.0.sql
9+
PGFILEDESC = "intarray - functions and operators for arrays of integers"
810

911
REGRESS = _int
1012

contrib/isn/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ MODULES = isn
44

55
EXTENSION = isn
66
DATA = isn--1.0.sql isn--unpackaged--1.0.sql
7+
PGFILEDESC = "isn - data types for international product numbering standards"
78

89
ifdef USE_PGXS
910
PG_CONFIG = pg_config

contrib/lo/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ MODULES = lo
44

55
EXTENSION = lo
66
DATA = lo--1.0.sql lo--unpackaged--1.0.sql
7+
PGFILEDESC = "lo - management for large objects"
78

89
ifdef USE_PGXS
910
PG_CONFIG = pg_config

contrib/ltree/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22

33
MODULE_big = ltree
44
OBJS = ltree_io.o ltree_op.o lquery_op.o _ltree_op.o crc32.o \
5-
ltxtquery_io.o ltxtquery_op.o ltree_gist.o _ltree_gist.o
5+
ltxtquery_io.o ltxtquery_op.o ltree_gist.o _ltree_gist.o $(WIN32RES)
66
PG_CPPFLAGS = -DLOWER_NODE
77

88
EXTENSION = ltree
99
DATA = ltree--1.0.sql ltree--unpackaged--1.0.sql
10+
PGFILEDESC = "ltree - hierarchical label data type"
1011

1112
REGRESS = ltree
1213

contrib/oid2name/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ PGFILEDESC = "oid2name - examine the file structure"
44
PGAPPICON = win32
55

66
PROGRAM = oid2name
7-
OBJS = oid2name.o
7+
OBJS = oid2name.o $(WIN32RES)
88

99
PG_CPPFLAGS = -I$(libpq_srcdir)
1010
PG_LIBS = $(libpq_pgport)

contrib/pageinspect/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
# contrib/pageinspect/Makefile
22

33
MODULE_big = pageinspect
4-
OBJS = rawpage.o heapfuncs.o btreefuncs.o fsmfuncs.o
4+
OBJS = rawpage.o heapfuncs.o btreefuncs.o fsmfuncs.o $(WIN32RES)
55

66
EXTENSION = pageinspect
77
DATA = pageinspect--1.2.sql pageinspect--1.0--1.1.sql \
88
pageinspect--1.1--1.2.sql pageinspect--unpackaged--1.0.sql
9+
PGFILEDESC = "pageinspect - functions to inspect contents of database pages"
910

1011
ifdef USE_PGXS
1112
PG_CONFIG = pg_config

contrib/passwordcheck/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# contrib/passwordcheck/Makefile
22

33
MODULE_big = passwordcheck
4-
OBJS = passwordcheck.o
4+
OBJS = passwordcheck.o $(WIN32RES)
5+
PGFILEDESC = "passwordcheck - strengthen user password checks"
56

67
# uncomment the following two lines to enable cracklib support
78
# PG_CPPFLAGS = -DUSE_CRACKLIB '-DCRACKLIB_DICTPATH="/usr/lib/cracklib_dict"'

contrib/pg_archivecleanup/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ PGFILEDESC = "pg_archivecleanup - cleans archive when used with streaming replic
44
PGAPPICON = win32
55

66
PROGRAM = pg_archivecleanup
7-
OBJS = pg_archivecleanup.o
7+
OBJS = pg_archivecleanup.o $(WIN32RES)
88

99
ifdef USE_PGXS
1010
PG_CONFIG = pg_config

contrib/pg_buffercache/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# contrib/pg_buffercache/Makefile
22

33
MODULE_big = pg_buffercache
4-
OBJS = pg_buffercache_pages.o
4+
OBJS = pg_buffercache_pages.o $(WIN32RES)
55

66
EXTENSION = pg_buffercache
77
DATA = pg_buffercache--1.0.sql pg_buffercache--unpackaged--1.0.sql
8+
PGFILEDESC = "pg_buffercache - monitoring of shared buffer cache in real-time"
89

910
ifdef USE_PGXS
1011
PG_CONFIG = pg_config

contrib/pg_freespacemap/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# contrib/pg_freespacemap/Makefile
22

33
MODULE_big = pg_freespacemap
4-
OBJS = pg_freespacemap.o
4+
OBJS = pg_freespacemap.o $(WIN32RES)
55

66
EXTENSION = pg_freespacemap
77
DATA = pg_freespacemap--1.0.sql pg_freespacemap--unpackaged--1.0.sql
8+
PGFILEDESC = "pg_freespacemap - monitoring of free space map"
89

910
ifdef USE_PGXS
1011
PG_CONFIG = pg_config

contrib/pg_prewarm/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# contrib/pg_prewarm/Makefile
22

33
MODULE_big = pg_prewarm
4-
OBJS = pg_prewarm.o
4+
OBJS = pg_prewarm.o $(WIN32RES)
55

66
EXTENSION = pg_prewarm
77
DATA = pg_prewarm--1.0.sql
8+
PGFILEDESC = "pg_prewarm - preload relation data into system buffer cache"
89

910
ifdef USE_PGXS
1011
PG_CONFIG = pg_config

contrib/pg_standby/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ PGFILEDESC = "pg_standby - supports creation of a warm standby"
44
PGAPPICON = win32
55

66
PROGRAM = pg_standby
7-
OBJS = pg_standby.o
7+
OBJS = pg_standby.o $(WIN32RES)
88

99
ifdef USE_PGXS
1010
PG_CONFIG = pg_config

contrib/pg_stat_statements/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
# contrib/pg_stat_statements/Makefile
22

33
MODULE_big = pg_stat_statements
4-
OBJS = pg_stat_statements.o
4+
OBJS = pg_stat_statements.o $(WIN32RES)
55

66
EXTENSION = pg_stat_statements
77
DATA = pg_stat_statements--1.2.sql pg_stat_statements--1.1--1.2.sql \
88
pg_stat_statements--1.0--1.1.sql pg_stat_statements--unpackaged--1.0.sql
9+
PGFILEDESC = "pg_stat_statements - execution statistics of SQL statements"
910

1011
ifdef USE_PGXS
1112
PG_CONFIG = pg_config

contrib/pg_test_fsync/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ PGFILEDESC = "pg_test_fsync - test various disk sync methods"
44
PGAPPICON = win32
55

66
PROGRAM = pg_test_fsync
7-
OBJS = pg_test_fsync.o
7+
OBJS = pg_test_fsync.o $(WIN32RES)
88

99
ifdef USE_PGXS
1010
PG_CONFIG = pg_config

contrib/pg_test_timing/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ PGFILEDESC = "pg_test_timing - test timing overhead"
44
PGAPPICON = win32
55

66
PROGRAM = pg_test_timing
7-
OBJS = pg_test_timing.o
7+
OBJS = pg_test_timing.o $(WIN32RES)
88

99
ifdef USE_PGXS
1010
PG_CONFIG = pg_config

contrib/pg_trgm/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# contrib/pg_trgm/Makefile
22

33
MODULE_big = pg_trgm
4-
OBJS = trgm_op.o trgm_gist.o trgm_gin.o trgm_regexp.o
4+
OBJS = trgm_op.o trgm_gist.o trgm_gin.o trgm_regexp.o $(WIN32RES)
55

66
EXTENSION = pg_trgm
77
DATA = pg_trgm--1.1.sql pg_trgm--1.0--1.1.sql pg_trgm--unpackaged--1.0.sql
8+
PGFILEDESC = "pg_trgm - trigram matching"
89

910
REGRESS = pg_trgm
1011

contrib/pg_xlogdump/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# contrib/pg_xlogdump/Makefile
22

3-
PGFILEDESC = "pg_xlogdump"
3+
PGFILEDESC = "pg_xlogdump - decode and display WAL"
44
PGAPPICON=win32
55

66
PROGRAM = pg_xlogdump

contrib/pgbench/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ PGFILEDESC = "pgbench - a simple program for running benchmark tests"
44
PGAPPICON = win32
55

66
PROGRAM = pgbench
7-
OBJS = pgbench.o
7+
OBJS = pgbench.o $(WIN32RES)
88

99
PG_CPPFLAGS = -I$(libpq_srcdir)
1010
PG_LIBS = $(libpq_pgport) $(PTHREAD_LIBS)

contrib/pgcrypto/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,11 @@ SRCS = pgcrypto.c px.c px-hmac.c px-crypt.c \
2323
pgp-pgsql.c
2424

2525
MODULE_big = pgcrypto
26-
OBJS = $(SRCS:.c=.o)
26+
OBJS = $(SRCS:.c=.o) $(WIN32RES)
2727

2828
EXTENSION = pgcrypto
2929
DATA = pgcrypto--1.1.sql pgcrypto--1.0--1.1.sql pgcrypto--unpackaged--1.0.sql
30+
PGFILEDESC = "pgcrypto - cryptographic functions"
3031

3132
REGRESS = init md5 sha1 hmac-md5 hmac-sha1 blowfish rijndael \
3233
$(CF_TESTS) \

0 commit comments

Comments
 (0)