Re: dropping role w/dependent objects

From: "Ed L(dot)" <pgsql(at)bluepolka(dot)net>
To: Bruce Momjian <bruce(at)momjian(dot)us>, pgsql-patches(at)postgresql(dot)org
Cc: Alvaro Herrera <alvherre(at)commandprompt(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: dropping role w/dependent objects
Date: 2007-04-05 00:11:26
Message-ID: 200704041811.26143.pgsql@bluepolka.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-patches

On Wednesday April 4 2007 5:37 pm, Bruce Momjian wrote:
> > Perhaps this could be added to the TODO list? I won't get
> > to it anytime soon.
>
> Yes. What should the TODO text be?

See if the attached patch is acceptable. If not, perhaps the
TODO text should be:

Enable end user to identify dependent objects when the following
error is encountered:

ERROR: role "mygroup" cannot be dropped because some objects
depend on it
DETAIL: 227 objects in this database

Attachment Content-Type Size
pg_shdepend.c.diff text/x-diff 1.4 KB

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Omar Eljumaily 2007-04-05 00:14:04 Problem with oids for table names getting out of sync?
Previous Message Bruce Momjian 2007-04-04 23:37:07 Re: dropping role w/dependent objects

Browse pgsql-patches by date

  From Date Subject
Next Message Tatsuo Ishii 2007-04-05 00:35:33 Re: HOT WIP Patch - version 6.3
Previous Message Joshua D. Drake 2007-04-04 23:44:04 Re: autovacuum multiworkers, patch 5