The following bug has been logged online:
Bug reference: 5750
Logged by: Chetan
Email address: chetan(dot)suttraway(at)enterprisedb(dot)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=#