From: spam_eater@gmx.net
To: pgsql-bugs@postgresql.org
Subject: BUG #7748: "drop owned by" fails with error message: "unrecognized object class: 1262"
Date: Sun, 09 Dec 2012 14:12:22 +0000
Message-ID: <E1ThhcE-0001nJ-1v@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
The following bug has been logged on the website:
Bug reference: 7748
Logged by: Thomas Kellerer
Email address: spam_eater@gmx.net
PostgreSQL version: 9.2.2
Operating system: Windows XP, 32bit
Description:
Using "drop owned by someuser" in 9.2.2 fails with the error
"unrecognized object class: 1262"
This is what happens on the commandline. The PostgreSQL cluster was
initialized right before running these steps using the command:
initdb -D pgdata --lc-messages=English -U postgres -E UTF8 -A md5
This is what happens when using "drop owned by":
c:\etc\postgres-9.2>psql
psql (9.2.2)
Type "help" for help.
postgres=# create user testuser with password 'secret';
CREATE ROLE
postgres=# create database testdb owner testuser;
CREATE DATABASE
postgres=# \q
c:\etc\postgres-9.2>psql -U testuser testdb
psql (9.2.2)
Type "help" for help.
testdb=> create table foobar (id integer);
CREATE TABLE
testdb=> drop owned by testuser;
ERROR: unrecognized object class: 1262
postgres=# select version();
version
-------------------------------------------------------------
PostgreSQL 9.2.2, compiled by Visual C++ build 1600, 32-bit
(1 row)
Dropping the objects manually works without problems.
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: spam_eater@gmx.net
Subject: Re: BUG #7748: "drop owned by" fails with error message: "unrecognized object class: 1262"
In-Reply-To: <E1ThhcE-0001nJ-1v@wrigleys.postgresql.org>
References: <E1ThhcE-0001nJ-1v@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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