Re: [patch] pg_copy - a command for reliable WAL archiving

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, MauMau <maumau307(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [patch] pg_copy - a command for reliable WAL archiving
Date: 2014-08-19 19:40:07
Message-ID: 53F3A817.2060002@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 8/15/14 10:46 AM, Fujii Masao wrote:
> At last, the big question is, is there really no OS command which provides
> the same functionality as pg_copy does? If there is, I'd like to avoid duplicate
> work basically.

If you look hard enough, you can maybe find an OS command that can fsync
a file after it was copied. Some versions of dd can do that, and some
systems have an fsync program. But it's not clear whether all systems
have that, and it probably won't be simple and consistent.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Frost 2014-08-19 19:47:17 Re: PQgetssl() and alternative SSL implementations
Previous Message Peter Eisentraut 2014-08-19 19:37:19 Re: [patch] pg_copy - a command for reliable WAL archiving