pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Magnus Hagander <magnus@hagander.net>
Cc: pgsql-committers <pgsql-committers@postgresql.org>
Subject: Re: pgsql: Allow pg_basebackup to stream transaction log in tar mode
Date: Sun, 23 Oct 2016 11:48:09 -0400
Message-ID: <26273.1477237689@sss.pgh.pa.us> (raw)
In-Reply-To: <CABUevEybv47X9mLSfcodCJQKMjuAS58oNx0iNkxJ8cSyUjFqiQ@mail.gmail.com>
References: <E1byIp1-0006Vj-Ii@gemulon.postgresql.org>
	<CABUevEygrFmcdwPcByjgK-s2m54Ue4oQGEjHgG2GPUNtmcAnXQ@mail.gmail.com>
	<CABUevEybv47X9mLSfcodCJQKMjuAS58oNx0iNkxJ8cSyUjFqiQ@mail.gmail.com>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Magnus Hagander <magnus@hagander.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.

			regards, tom lane


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



view thread (7+ messages)  latest in thread

Message-ID: <26273.1477237689@sss.pgh.pa.us>
Permalink:  ../26273.1477237689@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/26273.1477237689@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, magnus@hagander.net
  Subject: Re: pgsql: Allow pg_basebackup to stream transaction log in tar mode
  In-Reply-To: <26273.1477237689@sss.pgh.pa.us>
  References: <E1byIp1-0006Vj-Ii@gemulon.postgresql.org> <CABUevEygrFmcdwPcByjgK-s2m54Ue4oQGEjHgG2GPUNtmcAnXQ@mail.gmail.com> <CABUevEybv47X9mLSfcodCJQKMjuAS58oNx0iNkxJ8cSyUjFqiQ@mail.gmail.com> <26273.1477237689@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox