From: Tom Lane <tgl@sss.pgh.pa.us>
To: Kathy Lo <kathy.lo.ky@gmail.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: "pg_toast_2772_index" problem
Date: Sun, 19 Aug 2007 23:54:09 -0400
Message-ID: <3126.1187582049@sss.pgh.pa.us> (raw)
In-Reply-To: <c10e7feb0708192036p16f66d01qfa3ff85198b102bd@mail.gmail.com>
References: <c10e7feb0708192036p16f66d01qfa3ff85198b102bd@mail.gmail.com>
"Kathy Lo" <kathy.lo.ky@gmail.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
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-jdbc@postgresql.org
Cc: tgl@sss.pgh.pa.us, kathy.lo.ky@gmail.com
Subject: Re: "pg_toast_2772_index" problem
In-Reply-To: <3126.1187582049@sss.pgh.pa.us>
References: <c10e7feb0708192036p16f66d01qfa3ff85198b102bd@mail.gmail.com> <3126.1187582049@sss.pgh.pa.us>
* 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