pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Craig A. James <cjames@modgraph-usa.com>
To: pgsql-performance@postgresql.org
Subject: Can't drop tablespace or user after disk gone
Date: Wed, 04 Apr 2007 09:43:40 -0700
Message-ID: <4613D5BC.2070607@modgraph-usa.com> (raw)
In-Reply-To: <4613CB60.6030505@kaltenbrunner.cc>
References: <9C0858F5-0A48-4AF9-80FF-E4BA14F0F965@ohloh.net>
	<E1HYs6Y-0008O5-SN@elasmtp-banded.atl.sa.earthlink.net>
	<E1HYsBX-0006ZE-JG@elasmtp-banded.atl.sa.earthlink.net>
	<4613053F.5070401@polimetrix.com>
	<DF6C723E-7362-4173-8309-B8AAFC968E2C@ohloh.net>
	<4613C14A.4020703@commandprompt.com>
	<4613C54C.4050207@kaltenbrunner.cc>
	<4613C6F1.3090009@commandprompt.com>
	<4613CB60.6030505@kaltenbrunner.cc>

I had a 'scratch' database for testing, which I deleted, and then disk went out.  No problem, no precious data.  But now I can't drop the tablespace, or the user who had that as the default tablespace.

I thought about removing the tablespace from pg_tablespaces, but it seems wrong to be monkeying with the system tables.  I still can't drop the user, and can't drop the tablespace.  What's the right way to clear out Postgres when a disk fails and there's no reason to repair the disk?

Thanks,
Craig



view thread (2+ messages)  latest in thread

Message-ID: <4613D5BC.2070607@modgraph-usa.com>
Permalink:  ../4613D5BC.2070607@modgraph-usa.com/
Also on:    postgresql.org/message-id/4613D5BC.2070607@modgraph-usa.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: cjames@modgraph-usa.com
  Subject: Re: Can't drop tablespace or user after disk gone
  In-Reply-To: <4613D5BC.2070607@modgraph-usa.com>

* 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