Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b9ce9ee

Browse files
committed
PGPRO-1256: remove test_* extensions from installer
1 parent ec49d63 commit b9ce9ee

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

build/helpers/postgres.cmd

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,11 @@ rem We need ICONV and LibIntl DLLS available during install for ZIC to work
9999
rem no need to copy them, just add to PATH
100100
PATH %PATH%;%DEPENDENCIES_BIN_DIR%\libintl\lib;%DEPENDENCIES_BIN_DIR%\iconv\lib
101101
%PERL_EXE% install.pl %BUILD_DIR%\distr_%ARCH%_%PGVER%\postgresql || GOTO :ERROR
102+
103+
REM remove test_* extensions after install
104+
rm -rf %BUILD_DIR%\distr_%ARCH%_%PGVER%\postgresql\share\extension\test_* || GOTO :ERROR
105+
rm -rf %BUILD_DIR%\distr_%ARCH%_%PGVER%\postgresql\lib\test_* || GOTO :ERROR
106+
102107
rem now actually copy DLLs of dependencies into our bindir
103108
cp -va %DEPENDENCIES_BIN_DIR%/libintl/lib/*.dll %BUILD_DIR%\distr_%ARCH%_%PGVER%\postgresql\bin || GOTO :ERROR
104109
cp -va %DEPENDENCIES_BIN_DIR%/iconv/lib/*.dll %BUILD_DIR%\distr_%ARCH%_%PGVER%\postgresql\bin || GOTO :ERROR

0 commit comments

Comments
 (0)