Re: dropdb ; createdb equivalent without createdb permission?

From: "George Pavlov" <gpavlov(at)mynewplace(dot)com>
To: "Tim Olsen" <tolsen718(at)gmail(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: dropdb ; createdb equivalent without createdb permission?
Date: 2007-07-09 23:59:45
Message-ID: 8C5B026B51B6854CBE88121DBF097A86EDB779@ehost010-33.exch010.intermedia.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> With DROP CASCADE, he can get rid of
> everything within
> the schema at a blow, so this is really pretty close to the same
> functionality.

but beware of cross-schema dependencies! e.g., a DROP SCHEMA CASCADE of
schema X containg a table that has a column defined using a domain from
schema Y will result either in that object (the domain) being dropped
from schema Y (if user has privileges on Y) or in a failure of the DROP
(if not)...

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Chris 2007-07-10 01:03:00 Re: What secret resipy of PostgreSQL (insert more faster than delete)?
Previous Message Uwe C. Schroeder 2007-07-09 22:00:52 Re: CASE in ORDER BY clause