File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -113,6 +113,25 @@ sub Install
113
113
CopyContribFiles($config ,$target );
114
114
CopyIncludeFiles($target );
115
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
+
116
135
GenerateNLSFiles($target ,$config -> {nls },$majorver ) if ($config -> {nls });
117
136
118
137
print " Installation complete.\n " ;
You can’t perform that action at this time.
0 commit comments