Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YTx4j-0006kV-G0 for pgsql-bugs@arkaria.postgresql.org; Fri, 06 Mar 2015 18:34:17 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YTx4i-0001SX-M6 for pgsql-bugs@arkaria.postgresql.org; Fri, 06 Mar 2015 18:34:16 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YTx4h-0001Pv-Gp for pgsql-bugs@postgresql.org; Fri, 06 Mar 2015 18:34:15 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YTx4e-0006nS-Cm for pgsql-bugs@postgresql.org; Fri, 06 Mar 2015 18:34:13 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id t26IY9cS000930; Fri, 6 Mar 2015 13:34:09 -0500 From: Tom Lane To: Jamie Koceniak cc: Michael Paquier , "pgsql-bugs@postgresql.org" Subject: Re: BUG #12050: Orphaned base files 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> <84CE67AB46ACDA41B18094177DD0853D308735@ORD2MBX04H.mex05.mlsrvr.com> Comments: In-reply-to Jamie Koceniak message dated "Thu, 05 Mar 2015 03:55:05 +0000" Date: Fri, 06 Mar 2015 13:34:09 -0500 Message-ID: <929.1425666849@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Jamie Koceniak 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