Skip to content

Commit 6e243c4

Browse files
committed
Add test_pg_dump to @contrib_excludes
The test_pg_dump extension doesn't have a C component, so we need to exclude it from the MSVC build system trying to figure out how to build it. Also add a "MODULES" line to the Makefile, as test_extensions has. Might not be necessary, but seems good to keep things consistent. Lastly, remove the 'installcheck' line from test_pg_dump, as that was causing redefinition errors, at least on my box. This also makes test_pg_dump consistent with how commit_ts is set up.
1 parent 76ef266 commit 6e243c4

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/test/modules/test_pg_dump/Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# src/test/modules/test_rls_hooks/Makefile
22

3+
MODULE = test_pg_dump
34
PGFILEDESC = "test_pg_dump - Test pg_dump with an extension"
45

56
EXTENSION = test_pg_dump
@@ -12,9 +13,6 @@ check: prove-check
1213
prove-check:
1314
$(prove_check)
1415

15-
installcheck:
16-
$(prove_installcheck)
17-
1816
ifdef USE_PGXS
1917
PG_CONFIG = pg_config
2018
PGXS := $(shell $(PG_CONFIG) --pgxs)

src/tools/msvc/Mkvcbuild.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ my $contrib_extrasource = {
4343
my @contrib_excludes = (
4444
'commit_ts', 'hstore_plperl', 'hstore_plpython', 'intagg',
4545
'ltree_plpython', 'pgcrypto', 'sepgsql', 'brin',
46-
'test_extensions', 'snapshot_too_old');
46+
'test_extensions', 'test_pg_dump', 'snapshot_too_old');
4747

4848
# Set of variables for frontend modules
4949
my $frontend_defines = { 'initdb' => 'FRONTEND' };

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy