pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Davis <pgsql@j-davis.com>
To: 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, 09 Feb 2011 20:14:07 -0800
Message-ID: <1297311247.27157.486.camel@jdavis> (raw)
In-Reply-To: <20348.1297310326@sss.pgh.pa.us>
References: <1297309026.11375.7.camel@jdavis-ux.asterdata.local>
	<20348.1297310326@sss.pgh.pa.us>

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.

Regards,
	Jeff Davis




view thread (4+ messages)  latest in thread

Message-ID: <1297311247.27157.486.camel@jdavis>
Permalink:  ../1297311247.27157.486.camel@jdavis/
Also on:    postgresql.org/message-id/1297311247.27157.486.camel@jdavis

 · 

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: pgsql@j-davis.com, tgl@sss.pgh.pa.us
  Subject: Re: possible bug: orphaned files left after immediate shutdown during DDL
  In-Reply-To: <1297311247.27157.486.camel@jdavis>
  References: <1297309026.11375.7.camel@jdavis-ux.asterdata.local> <20348.1297310326@sss.pgh.pa.us> <1297311247.27157.486.camel@jdavis>

* 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