Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Thhca-0003Jc-6I for pgsql-bugs@arkaria.postgresql.org; Sun, 09 Dec 2012 14:12:44 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1ThhcY-00061e-KU for pgsql-bugs@arkaria.postgresql.org; Sun, 09 Dec 2012 14:12:42 +0000 Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1ThhcX-00061X-QT for pgsql-bugs@postgresql.org; Sun, 09 Dec 2012 14:12:41 +0000 Received: from mahout.postgresql.org ([98.129.198.123]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1ThhcF-00048C-PI for pgsql-bugs@postgresql.org; Sun, 09 Dec 2012 14:12:41 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1ThhcE-0000wy-O5 for pgsql-bugs@postgresql.org; Sun, 09 Dec 2012 14:12:22 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1ThhcE-0001nJ-1v for pgsql-bugs@postgresql.org; Sun, 09 Dec 2012 14:12:22 +0000 Date: Sun, 09 Dec 2012 14:12:22 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #7748: "drop owned by" fails with error message: "unrecognized object class: 1262" To: pgsql-bugs@postgresql.org From: spam_eater@gmx.net X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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:=20=20=20=20=20=20=20=20 Using "drop owned by someuser" in 9.2.2 fails with the error=20 "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=3DEnglish -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=3D# create user testuser with password 'secret'; CREATE ROLE postgres=3D# create database testdb owner testuser; CREATE DATABASE postgres=3D# \q c:\etc\postgres-9.2>psql -U testuser testdb psql (9.2.2) Type "help" for help. testdb=3D> create table foobar (id integer); CREATE TABLE testdb=3D> drop owned by testuser; ERROR: unrecognized object class: 1262 postgres=3D# select version(); version ------------------------------------------------------------- PostgreSQL 9.2.2, compiled by Visual C++ build 1600, 32-bit (1 row) Dropping the objects manually works without problems. --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs