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

Skip to content

Commit d6036d8

Browse files
committed
PGPRO-1252: removed python3 extensions
1 parent b0a688c commit d6036d8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build/helpers/postgres.cmd

+4
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,10 @@ REM remove test_* extensions after install
104104
rm -rf %BUILD_UDIR%/distr_%ARCH%_%PGVER%/postgresql/share/extension/test_* || GOTO :ERROR
105105
rm -rf %BUILD_UDIR%/distr_%ARCH%_%PGVER%/postgresql/lib/test_* || GOTO :ERROR
106106

107+
REM remove python3 extensions
108+
rm -rf %BUILD_UDIR%/distr_%ARCH%_%PGVER%/postgresql/share/extension/*python3* || GOTO :ERROR
109+
rm -rf %BUILD_UDIR%/distr_%ARCH%_%PGVER%/postgresql/lib/*python3* || GOTO :ERROR
110+
107111
rem now actually copy DLLs of dependencies into our bindir
108112
cp -va %DEPENDENCIES_BIN_DIR%/libintl/lib/*.dll %BUILD_DIR%\distr_%ARCH%_%PGVER%\postgresql\bin || GOTO :ERROR
109113
cp -va %DEPENDENCIES_BIN_DIR%/iconv/lib/*.dll %BUILD_DIR%\distr_%ARCH%_%PGVER%\postgresql\bin || GOTO :ERROR

0 commit comments

Comments
 (0)