From: | Magnus Hagander <magnus(at)hagander(dot)net> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-committers <pgsql-committers(at)postgresql(dot)org> |
Subject: | Re: pgsql: Allow pg_basebackup to stream transaction log in tar mode |
Date: | 2016-10-23 16:03:06 |
Message-ID: | CABUevExvZxy17kk8d9ARd0ZQad-4rBH1_gCXrMBaTELb2D6U8A@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
On Sun, Oct 23, 2016 at 5:48 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Magnus Hagander <magnus(at)hagander(dot)net> writes:
> > The remaining windows buildfarm build issue looks like this:
> > src/bin/pg_basebackup/receivelog.c(135): error C2039: '_commit' : is
> > not a member of 'WalWriteMethod'
> > [C:\buildfarm\buildenv\HEAD\pgsql.build\pg_basebackup.vcxproj]
> > AFAICT this comes from using walmethod->fsync(), and we have a #define
> > changing fsync() to _commit (port/win32.h, line 70).
>
> Yeah.
>
> > The easiest might just be to rename walmethod->fsync() to
> > walmethod->do_fsync(), so we don't have to mess with any other code.
>
> How about calling the method just "sync()"? Seems a bit less
> artificial.
>
Sure, that should work too. Seems we're not defining that one to something
else, so let's use that.
I'll go fix.
--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/
From | Date | Subject | |
---|---|---|---|
Next Message | Magnus Hagander | 2016-10-23 16:06:05 | pgsql: Rename walmethod fsync method to sync |
Previous Message | Tom Lane | 2016-10-23 15:48:09 | Re: pgsql: Allow pg_basebackup to stream transaction log in tar mode |