pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jehan-Guillaume de Rorthais <jgdr@dalibo.com>
To: Atul Kumar <akumar14871@gmail.com>
Cc: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: Re: strange behavior of WAL files
Date: Fri, 4 Jun 2021 12:56:56 +0200
Message-ID: <20210604125656.47938b0c@firost> (raw)
In-Reply-To: <CA+ONtZ74cL5Jw54JAWaZY087t4UMGnHXo8WGOZ-D7GK7-zTFbQ@mail.gmail.com>
References: <CA+ONtZ74cL5Jw54JAWaZY087t4UMGnHXo8WGOZ-D7GK7-zTFbQ@mail.gmail.com>

On Fri, 4 Jun 2021 15:39:30 +0530
Atul Kumar <akumar14871@gmail.com> wrote:

> HI,
> 
> We have a centos 6 enviornment where postgres 9.6 is running on it.
> 
> We have strange behavior of WAL files of pg_xlog directory
> 
> As we have set archive_command to archive WAL files at different
> location and the archive_command is working fine.
> 
> So strange behavior is :
> 
> We have a WAL file say for example "00000001000036CD000000E2" of
> 01.06.2021 (1st June 2021) that is getting archive successfully at the
> archive location and once it is archived, this file with same name
> (00000001000036CD000000E2) is getting generated with the latest
> timestamp (as today is 04.06.2021).and all old WAL files are behaving
> in same manner.

What is you archive_command?

I'm not sure I understand correctly, but keep in mind your
archive_command must be "read only". Do not remove the WAL file after archiving
it.

Regards,





view thread (11+ messages)  latest in thread

Message-ID: <20210604125656.47938b0c@firost>
Permalink:  ../20210604125656.47938b0c@firost/
Also on:    postgresql.org/message-id/20210604125656.47938b0c@firost

 · 

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-general@postgresql.org
  Cc: jgdr@dalibo.com, akumar14871@gmail.com
  Subject: Re: strange behavior of WAL files
  In-Reply-To: <20210604125656.47938b0c@firost>
  References: <CA+ONtZ74cL5Jw54JAWaZY087t4UMGnHXo8WGOZ-D7GK7-zTFbQ@mail.gmail.com> <20210604125656.47938b0c@firost>

* 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