Re: [HACKERS] [patch] Build pgoutput with MSVC

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: [HACKERS] [patch] Build pgoutput with MSVC
Дата
Msg-id CABUevEyg2UFhVbnSBGqbX-XWgOMZ+bAz6scAgHA-AWvtJEB0fg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] [patch] Build pgoutput with MSVC  (Michael Paquier <michael.paquier@gmail.com>)
Ответы Re: [HACKERS] [patch] Build pgoutput with MSVC  (Petr Jelinek <petr.jelinek@2ndquadrant.com>)
Re: [HACKERS] [patch] Build pgoutput with MSVC  ("MauMau" <maumau307@gmail.com>)
Список pgsql-hackers


On Fri, May 5, 2017 at 11:58 AM, Michael Paquier <michael.paquier@gmail.com> wrote:
On Fri, May 5, 2017 at 6:10 PM, MauMau <maumau307@gmail.com> wrote:
> 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?

Yes, with Peter as committer and Petr as owner.

+    my $pgoutput = $solution->AddProject(
+        'pgoutput', 'dll', '',
+        'src/backend/replication/pgoutput');
+    $pgoutput->AddReference($postgres);
Yup, that's correct.

You have forgotten to update clean.bat, which should clean up pgoutput.dll.

If that's all that's required, I'll just go ahead and commit it right away, including the clean.bat.

I think the problem with clean.bat isn't cleaning up pgoutput.dll -- that one goes in a different directory. But it does need to clean up the win32ver.rc file that gets dropped there automaticaly.

The attached patch itself seems broken (it has some sort of byte order marker at the beginning, but removing that still breaks with "patch unexpectedly ends in middle of line patch: **** Only garbage was found in the patch input.". But I can just copy/paste it manually :)

--

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: [HACKERS] [patch] Build pgoutput with MSVC
Следующее
От: Marko Tiikkaja
Дата:
Сообщение: Re: [HACKERS] Why type coercion is not performed for parameters?