Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 62F0B650266 for ; Mon, 7 Jul 2008 15:42:19 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 87711-05 for ; Mon, 7 Jul 2008 15:42:14 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.181]) by postgresql.org (Postfix) with ESMTP id 029DE65027B for ; Mon, 7 Jul 2008 15:42:15 -0300 (ADT) Received: by wa-out-1112.google.com with SMTP id n4so1418295wag.5 for ; Mon, 07 Jul 2008 11:42:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=GE5KQSTC0crjZFADIDhMv89zwMr3liNUu/MCoPqK9Fw=; b=l7Nj0TLZ9hfULl1PTmEnuVEb7ifFIehxi2x/RDMlW6YP25KCNZGFlhH8oq0X4xWOI1 3MtUknPuwA6lq+1JpyVj2nRapdgDiIH5Xp3llhXVdK2T60PiJC+V5xeZlgmhvqtxPLwD JPFDlD/g4NeiyVKuzNbiIjcQYlx1OfZXYWKs4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=kqUN0c0Phf6B/t9GqNCXxUmumkFfhNsuxjdBDtLbphJUJ5nKJ7jgiIJfXTWgOYZ2ou 1Y4oxkcF26Y7VSlg4SamNXFHYKJPx3ZhHiGqmgGgPaoFwJHQzu4S1d4FkmyTKOA7GLKr sj/CPIYsPN+vjV2079bkvZATr0TEcki0/6lfQ= Received: by 10.114.193.1 with SMTP id q1mr6823706waf.70.1215456133625; Mon, 07 Jul 2008 11:42:13 -0700 (PDT) Received: by 10.114.180.17 with HTTP; Mon, 7 Jul 2008 11:42:13 -0700 (PDT) Message-ID: Date: Mon, 7 Jul 2008 12:42:13 -0600 From: "Scott Marlowe" To: "Carol Walter" Subject: Re: Removing raw data files Cc: pgsql-admin@postgresql.org In-Reply-To: <5F9D1432-42CD-4213-AF8A-138CB3B347F5@indiana.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <5F9D1432-42CD-4213-AF8A-138CB3B347F5@indiana.edu> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200807/79 X-Sequence-Number: 29689 On Mon, Jul 7, 2008 at 12:19 PM, Carol Walter wrote: > Hello, > > I asked this question a while ago and I didn't get an answer. Perhaps I > asked the question in a manner that wasn't clear. I upgraded from 8.1.3 to > 8.2.3. I left the 8.1.3 database intact in case I had to revert to it. The > 8.2.3 database is running just fine and I'd like to recover the space that > the 8.1.3 raw data directories are consuming. Can I just remove the raw > data files with rm -rf on the data directory for the 8.1.3 version? This > may sound like a silly question but the database I worked with prior to > postgres was MS SQL Server. On that platform, you never know when something > from the last version is imbedded in the new version. The cautious sysadmin in me says to set the directory to owner root and perms 000 so it's not accesible. Then if something goes horribly wrong, you've still got the original directory. If not, after a week or two you can delete it knowing nothing is accessing it.