Re: PostgreSQL 8.1.0 catalog corruption

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Bob Ippolito <bob(at)redivi(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: PostgreSQL 8.1.0 catalog corruption
Date: 2005-11-21 20:52:57
Message-ID: 20051121205257.GB31671@surnet.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bob Ippolito wrote:
> I've been running 8.1.0 on a test box since the FreeBSD port has been
> available, and it appears that the catalog has become corrupted.
> There's plenty of free space on all volumes, so it hasn't run out of
> space or anything.
>
> $ uname -a
> FreeBSD shi.mochibot.com 6.0-RELEASE FreeBSD 6.0-RELEASE #2: Mon Nov
> 7 14:34:52 PST 2005 root(at)shi(dot)mochibot(dot)com:/usr/obj/usr/src/sys/
> CUSTOM i386
>
> $ psql mochi
> Welcome to psql 8.1.0, the PostgreSQL interactive terminal.
>
> Type: \copyright for distribution terms
> \h for help with SQL commands
> \? for help with psql commands
> \g or terminate with semicolon to execute query
> \q to quit
>
> mochi=# drop table ping_1132387200;
> ERROR: table "ping_1132387200" does not exist
> mochi=# create table ping_1132387200();
> ERROR: type "ping_1132387200" already exists

Well, try

DROP TYPE ping_1132387200;

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Qingqing Zhou 2005-11-21 21:07:43 Re: [ADMIN] ERROR: could not read block
Previous Message Bob Ippolito 2005-11-21 20:52:44 Re: PostgreSQL 8.1.0 catalog corruption