We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b5d734 commit a956b16Copy full SHA for a956b16
src/tools/msvc/Install.pm
@@ -113,6 +113,25 @@ sub Install
113
CopyContribFiles($config,$target);
114
CopyIncludeFiles($target);
115
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
+
135
GenerateNLSFiles($target,$config->{nls},$majorver) if ($config->{nls});
136
137
print "Installation complete.\n";
0 commit comments