From: Magnus Hagander Date: Fri, 5 May 2017 10:08:48 +0000 (+0200) Subject: Build pgoutput.dll in MSVC build X-Git-Tag: REL_10_BETA1~98 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=28d1c8ccc87128f9b0b937eae277473027c36b7e;p=postgresql Build pgoutput.dll in MSVC build Without this, logical replication obviously does not work on Windows MauMau, with clean.bet additions from me per note from Michael Paquier --- diff --git a/src/tools/msvc/Mkvcbuild.pm b/src/tools/msvc/Mkvcbuild.pm index 30c126503b..642797d738 100644 --- a/src/tools/msvc/Mkvcbuild.pm +++ b/src/tools/msvc/Mkvcbuild.pm @@ -252,6 +252,11 @@ sub mkvcbuild $libpqwalreceiver->AddIncludeDir('src/interfaces/libpq'); $libpqwalreceiver->AddReference($postgres, $libpq); + my $pgoutput = $solution->AddProject( + 'pgoutput', 'dll', '', + 'src/backend/replication/pgoutput'); + $pgoutput->AddReference($postgres); + my $pgtypes = $solution->AddProject( 'libpgtypes', 'dll', 'interfaces', 'src/interfaces/ecpg/pgtypeslib'); diff --git a/src/tools/msvc/clean.bat b/src/tools/msvc/clean.bat index ab51284e64..e50f228d9e 100755 --- a/src/tools/msvc/clean.bat +++ b/src/tools/msvc/clean.bat @@ -20,6 +20,7 @@ del /s /q src\bin\win32ver.rc 2> NUL del /s /q src\interfaces\win32ver.rc 2> NUL if exist src\backend\win32ver.rc del /q src\backend\win32ver.rc if exist src\backend\replication\libpqwalreceiver\win32ver.rc del /q src\backend\replication\libpqwalreceiver\win32ver.rc +if exist src\backend\replication\pgoutput\win32ver.rc del /q src\backend\replication\pgoutput\win32ver.rc if exist src\backend\snowball\win32ver.rc del /q src\backend\snowball\win32ver.rc if exist src\interfaces\ecpg\test\win32ver.rc del /q src\interfaces\ecpg\test\win32ver.rc if exist src\pl\plperl\win32ver.rc del /q src\pl\plperl\win32ver.rc