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

Skip to content

Commit a871e43

Browse files
committed
Merge branch 'master' into dev
2 parents b68b04b + 6bc134f commit a871e43

File tree

5 files changed

+13
-3
lines changed

5 files changed

+13
-3
lines changed

build/helpers/postgres.cmd

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ IF %HAVE_PGURL% == 0 (
8686
>>src\tools\msvc\config.pl ECHO nls ^=^> '%DEPENDENCIES_BIN_DIR%\libintl',
8787
>>src\tools\msvc\config.pl ECHO tcl ^=^> undef,
8888
IF %SDK% == SDK71 GOTO :DISABLE_PERL
89+
IF %ARCH% == X86 GOTO :DISABLE_PERL
8990
IF %ARCH% == X86 (>>src\tools\msvc\config.pl ECHO perl ^=^> '%PERL32_PATH%', )
9091
IF %ARCH% == X64 (>>src\tools\msvc\config.pl ECHO perl ^=^> '%PERL64_PATH%', )
9192
GOTO :PERL_CONF_DONE
@@ -114,8 +115,9 @@ cp -va %DEPENDENCIES_BIN_DIR%/icu/include/* src\include\ || GOTO :ERROR
114115
cp -va %DEPENDENCIES_BIN_DIR%/icu/lib/* . || GOTO :ERROR
115116

116117
:NOLOAD
117-
IF %ARCH% == X86 SET PERL5LIB=%PERL32_PATH%\lib;src\tools\msvc;.
118-
IF %ARCH% == X64 SET PERL5LIB=%PERL64_PATH%\lib;src\tools\msvc;.
118+
REM IF %ARCH% == X86 SET PERL5LIB=%PERL32_PATH%\lib;src\tools\msvc;.
119+
REM IF %ARCH% == X64 SET PERL5LIB=%PERL64_PATH%\lib;src\tools\msvc;.
120+
SET PERL5LIB=%PERL64_PATH%\lib;src\tools\msvc;.
119121

120122
%PERL_EXE% src\tools\msvc\build.pl || GOTO :ERROR
121123

build/helpers/postgres_nsis_installer.cmd

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,12 @@ rem Genarate file lists
104104
rem Remove old filelists first
105105
rm -f *_list.nsi
106106
rem tune pattern lists to major version and product
107+
108+
IF %PG_MAJOR_VERSION% LEQ 13 (
109+
sed "s/pg_amcheck//" client.files > client-14.files
110+
mv client-14.files client.files
111+
)
112+
107113
IF "%PG_MAJOR_VERSION%" == "9.6" (
108114
sed "s/wal/xlog/" server.files > allserver.files
109115
sed "s/wal/xlog/" client.files > allclient.files

build/helpers/setvars.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ SET PERL5LIB=.
2828

2929
IF %ARCH% == X86 SET PATH=%PERL32_BIN%;%PATH%
3030
IF %ARCH% == X86 SET PERL_EXE=%PERL32_BIN%\perl.exe
31-
IF %ARCH% == X86 GOTO :NOT64
31+
REM IF %ARCH% == X86 GOTO :NOT64
3232

3333
IF EXIST "%PERL64_BIN%" SET PATH=%PERL64_BIN%;%PATH%
3434
IF EXIST "%PERL64_BIN%" SET PERL_EXE=%PERL64_BIN%\perl.exe

nsis/client.files

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
./bin/createuser.*
55
./bin/dropdb.*
66
./bin/dropuser.*
7+
./bin/pg_amcheck.*
78
./bin/pg_basebackup.*
89
./bin/pgbench.*
910
./bin/pg_dump.*

nsis/unneeded.files

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
./bin/libpq_pipeline.exe
12
./bin/pg_regress*.exe
23
./bin/pg_isolation_regress.exe
34
./bin/isolationtester.exe

0 commit comments

Comments
 (0)