pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jim C. Nasby <jnasby@pervasive.com>
To: Andy Shellam <andy.shellam@mailnetwork.co.uk>
Cc: Sriram Dandapani <sdandapani@counterpane.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: WAL file naming convention
Date: Mon, 27 Mar 2006 04:34:44 -0600
Message-ID: <20060327103444.GQ80726@pervasive.com> (raw)
In-Reply-To: <20060325175125.0DB5E9DCE25@postgresql.org>
References: <6992E470F12A444BB787B5C937B9D4DF03C4964D@ca-mail1.cis.local>
	<20060325175125.0DB5E9DCE25@postgresql.org>

On Sat, Mar 25, 2006 at 05:51:13PM -0000, Andy Shellam wrote:
> As PostgreSQL numbers WALs sequentially, as long as your ls command by
> default orders listings by filename, then Yes.  Or you could list by the
> last modified date/time should give the same effect.

But note that the order it creates them in doesn't have much meaning,
because it can re-use them. So if you want to know anything about actual
current order of usage the filename is meaningless.

>   _____  
> 
> From: pgsql-admin-owner@postgresql.org
> [mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Sriram Dandapani
> Sent: Saturday, 25 March, 2006 12:30 am
> To: pgsql-admin@postgresql.org
> Subject: [ADMIN] WAL file naming convention
> 
> 
> 
> Hi
> 
>  
> 
> Is is safe to assume that the unix ls command will return WAL files in the
> same sequence as postgres creates them.
> 
>  
> 
> e.g will ls <wal-file-folder> return files in the order that postgres
> created them
> 
> !DSPAM:14,44248f2235041511888239! 

-- 
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461



view thread (6+ messages)  latest in thread

Message-ID: <20060327103444.GQ80726@pervasive.com>
Permalink:  ../20060327103444.GQ80726@pervasive.com/
Also on:    postgresql.org/message-id/20060327103444.GQ80726@pervasive.com

 · 

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-admin@postgresql.org
  Cc: jnasby@pervasive.com, andy.shellam@mailnetwork.co.uk, sdandapani@counterpane.com
  Subject: Re: WAL file naming convention
  In-Reply-To: <20060327103444.GQ80726@pervasive.com>
  References: <6992E470F12A444BB787B5C937B9D4DF03C4964D@ca-mail1.cis.local> <20060325175125.0DB5E9DCE25@postgresql.org> <20060327103444.GQ80726@pervasive.com>

* 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