Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit a956b16

Browse files
committed
Add PL extension files to MSVC Install procedure.
1 parent 0b5d734 commit a956b16

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

src/tools/msvc/Install.pm

+19
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,25 @@ sub Install
113113
CopyContribFiles($config,$target);
114114
CopyIncludeFiles($target);
115115

116+
my $pl_extension_files = [];
117+
my @pldirs = ('src/pl/plpgsql/src');
118+
push @pldirs,"src/pl/plperl" if $config->{perl};
119+
push @pldirs,"src/pl/plpython" if $config->{python};
120+
push @pldirs,"src/pl/tcl" if $config->{tcl};
121+
File::Find::find(
122+
{
123+
wanted =>sub {
124+
/^(.*--.*\.sql|.*\.control)\z/s
125+
&&push(@$pl_extension_files, $File::Find::name);
126+
}
127+
},
128+
@pldirs
129+
);
130+
CopySetOfFiles(
131+
'PL Extension files', $pl_extension_files,
132+
$target . '/share/extension/'
133+
);
134+
116135
GenerateNLSFiles($target,$config->{nls},$majorver) if ($config->{nls});
117136

118137
print "Installation complete.\n";

0 commit comments

Comments
 (0)