pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Jeff Davis <pgsql@j-davis.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@postgresql.org
Subject: Re: possible bug: orphaned files left after immediate shutdown during DDL
Date: Wed, 16 Feb 2011 08:45:50 -0500 (EST)
Message-ID: <201102161345.p1GDjoO22162@momjian.us> (raw)
In-Reply-To: <1297311247.27157.486.camel@jdavis>

Jeff Davis wrote:
> On Wed, 2011-02-09 at 22:58 -0500, Tom Lane wrote:
> > It's intentional ... not that other people haven't complained about it
> > before.  Remember that what you have done is forced a crash, and
> > recovery from it is crash recovery.  If we proactively removed such
> > files we would very possibly be destroying evidence of forensic value.
> 
> I thought that might be the case, but I wasn't able to find any previous
> discussions.
> 
> It might be a good idea to issue a warning during recovery, however,
> like "possible orphaned file ...". I'm not sure if it's worth the
> bookkeeping effort though.

I thought we had a TODO item about removing orphaned files, but I don't
see it now, perhaps because I thought we had fixed that.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +



view thread (4+ messages)

Message-ID: <201102161345.p1GDjoO22162@momjian.us>
Permalink:  ../201102161345.p1GDjoO22162@momjian.us/
Also on:    postgresql.org/message-id/201102161345.p1GDjoO22162@momjian.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-bugs@postgresql.org
  Cc: bruce@momjian.us, pgsql@j-davis.com, tgl@sss.pgh.pa.us
  Subject: Re: possible bug: orphaned files left after immediate shutdown during DDL
  In-Reply-To: <201102161345.p1GDjoO22162@momjian.us>
  References: <1297311247.27157.486.camel@jdavis> <201102161345.p1GDjoO22162@momjian.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