From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "Kathy Lo" <kathy(dot)lo(dot)ky(at)gmail(dot)com> |
Cc: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: "pg_toast_2772_index" problem |
Date: | 2007-08-20 03:54:09 |
Message-ID: | 3126.1187582049@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
"Kathy Lo" <kathy(dot)lo(dot)ky(at)gmail(dot)com> writes:
> When I insert a record into a table using JDBC, I got the following exception:
> org.postgresql.util.PSQLException: ERROR: index "pg_toast_27722_index"
> is not a btree
You have a data-corruption problem. If the error shown here is the
*only* issue then you could fix it with REINDEX, but the $64 question
is whether anything else has been corrupted.
> I am using the following:
> Fedora Core 4
> Postgresql 8.0.3
> Tomcat 5.5.17
> JDBC postgresql-8.1.409.jdbc3.jar
I can't speak to Tomcat or JDBC, but Red Hat stopped supporting FC4
quite some time ago, and PG 8.0.3 is ancient also. You need to update
your software.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | ttvvaa | 2007-08-20 14:18:29 | JDBC COPY error encoding |
Previous Message | Kathy Lo | 2007-08-20 03:36:11 | "pg_toast_2772_index" problem |