Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: I can not drop a user/role because an object depent on it.


  • From: Bill Moran <wmoran(at)potentialtech(dot)com>
  • To: Ricky Tompu Breaky <ricky(dot)breaky(at)uni(dot)de>
  • Cc: pgsql-general(at)postgresql(dot)org
  • Subject: Re: I can not drop a user/role because an object depent on it.
  • Date: Wed, 30 Sep 2009 13:45:52 -0400
  • Message-id: <20090930134552.93286390.wmoran@potentialtech.com> <text/plain>

In response to Ricky Tompu Breaky <ricky(dot)breaky(at)uni(dot)de>:

> Dear my friends....
> 
> I can not drop a user because another object need it. How can I know
> which object need it? I really want to drop everything inside my
> PostgreSQL, to reset my installation really from beginning.

The easiest way to accomplish this is to stop postgres, delete the
postgres data directory and rerun initdb.

-- 
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group