]> granicus.if.org Git - postgresql/commitdiff
Build pgoutput.dll in MSVC build
authorMagnus Hagander <magnus@hagander.net>
Fri, 5 May 2017 10:08:48 +0000 (12:08 +0200)
committerMagnus Hagander <magnus@hagander.net>
Fri, 5 May 2017 10:08:48 +0000 (12:08 +0200)
Without this, logical replication obviously does not work on Windows

MauMau, with clean.bet additions from me per note from Michael Paquier

src/tools/msvc/Mkvcbuild.pm
src/tools/msvc/clean.bat

index 30c126503bd728dea139adbee97cabc399eac713..642797d738eb1da6f959056cb6a0062f9883d084 100644 (file)
@@ -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');
index ab51284e643c36a5dace6770178b7c3fa8f0fe63..e50f228d9ede357a55dad16ea88b767aac99427a 100755 (executable)
@@ -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