LIST OWNED BY...

From: Thom Brown <thom(at)linux(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: LIST OWNED BY...
Date: 2012-02-29 16:46:31
Message-ID: CAA-aLv6C-dttXgXkXFUCb2ni20TB8t918W5pgNFfvw4wGF69CQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi all,

If someone wants to drop objects owned by a particular role, they'll
use DROP OWNED BY role. However, the implications of this statement
aren't easily known, and once you've run it, it's not communicated
which objects were dropped.

So could we introduce either a command to show which objects are owned
by a particular role, or allow a dry-run of DROP OWNED BY? Also when
DROP OWNED BY has been executed, shouldn't we get feedback about what
it did? At the moment the only feedback provided is what objects the
statement cascaded to.

--
Thom

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2012-02-29 17:16:07 Re: LIST OWNED BY...
Previous Message Robert Haas 2012-02-29 16:41:09 Re: 16-bit page checksums for 9.2