"pg_toast_2772_index" problem

From: "Kathy Lo" <kathy(dot)lo(dot)ky(at)gmail(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: "pg_toast_2772_index" problem
Date: 2007-08-20 03:36:11
Message-ID: c10e7feb0708192036p16f66d01qfa3ff85198b102bd@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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

I am using the following:

Fedora Core 4
Postgresql 8.0.3
Tomcat 5.5.17
JDBC postgresql-8.1.409.jdbc3.jar

The structure of the table is like the following:

one column = bigint, not null, foreign key
about 10 columns = varchar
about 10-15 columns = Text

When I insert a record without values in "Text" columns, OK!
When I insert a record containing values in almost all "Text" columns, FAILED!

--
Kathy Lo

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Tom Lane 2007-08-20 03:54:09 Re: "pg_toast_2772_index" problem
Previous Message Oliver Jowett 2007-08-19 21:40:23 Re: COPY <table> FROM STDIN BINARY