pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #5750: dropping objects owned by user fails
2+ messages / 2 participants
[nested] [flat]

* BUG #5750: dropping objects owned by user fails
@ 2010-11-12 13:06  Chetan <chetan.suttraway@enterprisedb.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Chetan @ 2010-11-12 13:06 UTC (permalink / raw)
  To: pgsql-bugs


The following bug has been logged online:

Bug reference:      5750
Logged by:          Chetan
Email address:      chetan.suttraway@enterprisedb.com
PostgreSQL version: 9.0.1
Operating system:   Ubuntu 9.10
Description:        dropping objects owned by user fails
Details: 

steps to reproduce:

psql (9.0.1)
Type "help" for help.

postgres=# create user t;
CREATE ROLE
postgres=# create foreign data wrapper wrap123;
CREATE FOREIGN DATA WRAPPER
postgres=# grant usage on foreign data wrapper wrap123 to t;
GRANT
postgres=# drop owned by t;
ERROR:  unexpected object class 2328
postgres=#



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #5750: dropping objects owned by user fails
@ 2010-11-12 13:32  Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
  parent: Chetan <chetan.suttraway@enterprisedb.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Heikki Linnakangas @ 2010-11-12 13:32 UTC (permalink / raw)
  To: Chetan <chetan.suttraway@enterprisedb.com>; +Cc: pgsql-bugs

On 12.11.2010 15:06, Chetan wrote:
> postgres=# create user t;
> CREATE ROLE
> postgres=# create foreign data wrapper wrap123;
> CREATE FOREIGN DATA WRAPPER
> postgres=# grant usage on foreign data wrapper wrap123 to t;
> GRANT
> postgres=# drop owned by t;
> ERROR:  unexpected object class 2328
> postgres=#

Fixed. Of course, foreign data wrappers and servers don't do anything 
interesting yet, but since we have them, might as well make them work 
correctly.

-- 
   Heikki Linnakangas
   EnterpriseDB   http://www.enterprisedb.com



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2010-11-12 13:32 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-11-12 13:06 BUG #5750: dropping objects owned by user fails Chetan <chetan.suttraway@enterprisedb.com>
2010-11-12 13:32 ` Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>

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