[patch] Build pgoutput with MSVC
Started by MauMauover 8 years ago7 messages
Hello,
I tried logical replication on Windows, but it failed like this:
postgres=# create subscription mysub connection 'host=localhost
port=5433 user=tuna dbname=postgres' publication mypub with (nocopy
data);
NOTICE: synchronized table states
ERROR: could not create replication slot "mysub": ERROR: could not
access file "pgoutput": No such file or directory
postgres=#
The pgoutput is not built with MSVC. The attached patch fixes this.
I confirmed that a few INSERTs were replicated correctly.
Should I add this matter in the PostgreSQL 10 Open Items page?
Regards
MauMau
Attachments:
msvc_build_pgoutput.patchapplication/octet-stream; name=msvc_build_pgoutput.patchDownload
��d i f f - - g i t a / s r c / t o o l s / m s v c / M k v c b u i l d . p m b / s r c / t o o l s / m s v c / M k v c b u i l d . p m
i n d e x 3 0 c 1 2 6 5 0 3 b . . 6 4 2 7 9 7 d 7 3 8 1 0 0 6 4 4
- - - a / s r c / t o o l s / m s v c / M k v c b u i l d . p m
+ + + b / s r c / t o o l s / m s v c / M k v c b u i l d . p m
@ @ - 2 5 2 , 6 + 2 5 2 , 1 1 @ @ s u b m k v c b u i l d
$ l i b p q w a l r e c e i v e r - >