Skip to content

Commit 28d1c8c

Browse files
committed
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
1 parent 0557a5d commit 28d1c8c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/tools/msvc/Mkvcbuild.pm

+5
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,11 @@ sub mkvcbuild
252252
$libpqwalreceiver->AddIncludeDir('src/interfaces/libpq');
253253
$libpqwalreceiver->AddReference($postgres, $libpq);
254254

255+
my $pgoutput = $solution->AddProject(
256+
'pgoutput', 'dll', '',
257+
'src/backend/replication/pgoutput');
258+
$pgoutput->AddReference($postgres);
259+
255260
my $pgtypes = $solution->AddProject(
256261
'libpgtypes', 'dll',
257262
'interfaces', 'src/interfaces/ecpg/pgtypeslib');

src/tools/msvc/clean.bat

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ del /s /q src\bin\win32ver.rc 2> NUL
2020
del /s /q src\interfaces\win32ver.rc 2> NUL
2121
if exist src\backend\win32ver.rc del /q src\backend\win32ver.rc
2222
if exist src\backend\replication\libpqwalreceiver\win32ver.rc del /q src\backend\replication\libpqwalreceiver\win32ver.rc
23+
if exist src\backend\replication\pgoutput\win32ver.rc del /q src\backend\replication\pgoutput\win32ver.rc
2324
if exist src\backend\snowball\win32ver.rc del /q src\backend\snowball\win32ver.rc
2425
if exist src\interfaces\ecpg\test\win32ver.rc del /q src\interfaces\ecpg\test\win32ver.rc
2526
if exist src\pl\plperl\win32ver.rc del /q src\pl\plperl\win32ver.rc

0 commit comments

Comments
 (0)