Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 463711D2CB9 for ; Thu, 12 Jul 2012 22:52:57 -0300 (ADT) Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SpV3v-0008Ky-4U for pgsql-bugs@postgresql.org; Fri, 13 Jul 2012 01:52:56 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1SpV3h-00044u-GM; Thu, 12 Jul 2012 21:52:41 -0400 Date: Thu, 12 Jul 2012 21:52:41 -0400 From: Bruce Momjian To: Mike Wilson Cc: Tom Lane , pgsql-bugs@postgresql.org Subject: Re: BUG #6733: All Tables Empty After pg_upgrade (PG 9.2.0 beta 2) Message-ID: <20120713015241.GA15443@momjian.us> References: <13290.1342133046@sss.pgh.pa.us> <20120712224929.GB25074@momjian.us> <517A874F-B310-4340-803D-EC8625C8B497@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <517A874F-B310-4340-803D-EC8625C8B497@gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201207/95 X-Sequence-Number: 33571 On Thu, Jul 12, 2012 at 05:21:31PM -0700, Mike Wilson wrote: > This can be closed. I figured out what I was doing wrong, which was > after the conversion I was cleaning up the old datadir by deleting it, > which destroyed the hard links to the data since I am using pg_upgrade > --link Uh, actually, a hard link has two directory entries pointing to the same file, so you can delete the old datadir and the new datadir should not be affected. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. +