pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jamie Koceniak <jkoceniak@mediamath.com>
Cc: Michael Paquier <michael.paquier@gmail.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: BUG #12050: Orphaned base files
Date: Fri, 06 Mar 2015 13:34:09 -0500
Message-ID: <929.1425666849@sss.pgh.pa.us> (raw)
In-Reply-To: <84CE67AB46ACDA41B18094177DD0853D308735@ORD2MBX04H.mex05.mlsrvr.com>
References: <20141124201815.15509.290@wrigleys.postgresql.org>
	<13113.1416884961@sss.pgh.pa.us>
	<84CE67AB46ACDA41B18094177DD0853D2E3946@ORD2MBX04C.mex05.mlsrvr.com>
	<CAB7nPqQ2AUL3h35j-gH5pTpOqeOm=xX+HsrG-KXW=JOsd6fccQ@mail.gmail.com>
	<84CE67AB46ACDA41B18094177DD0853D308735@ORD2MBX04H.mex05.mlsrvr.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Jamie Koceniak <jkoceniak@mediamath.com> writes:
> If I don't remove the orphaned files, is there any change that Postgres could use the same file node (oid)  again?

> For example, say file node 2602351127 doesn't exist anywhere in pg_class, could Postgres use that same file node id again?
> What would happen in that case?

It will not overwrite an existing file when selecting a new relfilenode.

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (8+ messages)

Message-ID: <929.1425666849@sss.pgh.pa.us>
Permalink:  ../929.1425666849@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/929.1425666849@sss.pgh.pa.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: tgl@sss.pgh.pa.us, jkoceniak@mediamath.com, michael.paquier@gmail.com
  Subject: Re: BUG #12050: Orphaned base files
  In-Reply-To: <929.1425666849@sss.pgh.pa.us>
  References: <20141124201815.15509.290@wrigleys.postgresql.org> <13113.1416884961@sss.pgh.pa.us> <84CE67AB46ACDA41B18094177DD0853D2E3946@ORD2MBX04C.mex05.mlsrvr.com> <CAB7nPqQ2AUL3h35j-gH5pTpOqeOm=xX+HsrG-KXW=JOsd6fccQ@mail.gmail.com> <84CE67AB46ACDA41B18094177DD0853D308735@ORD2MBX04H.mex05.mlsrvr.com> <929.1425666849@sss.pgh.pa.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