[patch] Build pgoutput with MSVC

From: "MauMau" <maumau307(at)gmail(dot)com>
To: "PostgreSQL Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: [patch] Build pgoutput with MSVC
Date: 2017-05-05 09:10:12
Message-ID: E4978C3DF3524C03A6729DD1BDC723A9@tunaPC
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
msvc_build_pgoutput.patch application/octet-stream 1.2 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2017-05-05 09:58:21 Re: [patch] Build pgoutput with MSVC
Previous Message Michael Paquier 2017-05-05 09:03:09 Re: logical replication and PANIC during shutdown checkpoint in publisher