ERROR: unrecognized object class: 1262 with 9.2.2 but not with 9.2.1

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: ERROR: unrecognized object class: 1262 with 9.2.2 but not with 9.2.1
Date: 2012-12-09 10:36:11
Message-ID: ka1pi3$o4d$1@ger.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I recently upgraded from 9.2.1 to 9.2.2 and my unit tests for my application are failing when cleaning up my test database.

I am using the statement:

drop owned by wbjunit cascade;

at the end of a test suite to get rid of everything that was created during the tests.

Now since the upgrade to 9.2.2 it fails with the error message:

ERROR: unrecognized object class: 1262

I could easily drop and re-create the database, but I'm a) curious on how this situation could have happened and b) if there is a way to fix a problem like that with re-creating the database (in case this would have not been a unit test DB)

Is this a bug in 9.2.2 or did I do something wrong?

A "vacuumdb -f -v wbjunit" shows the following message:

INFO: vacuuming "pg_catalog.pg_depend"
INFO: "pg_depend": found 2 removable, 6219 nonremovable row versions in 47 pages
DETAIL: 0 dead row versions cannot be removed yet.
CPU 0.00s/0.01u sec elapsed 0.10 sec.

The "found 2 removable" part does not change, even if I re-run the statement several times.

My environment:
PostgreSQL 9.2.2, compiled by Visual C++ build 1600, 32-bit
Windows XP SP2

Regards
Thomas

Responses

Browse pgsql-general by date

  From Date Subject
Next Message P. Broennimann 2012-12-09 10:40:06 Installation Issue on Ubuntu under Xen
Previous Message Ryan Kelly 2012-12-08 19:50:47 Re: Large temporary file generated during query