pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kathy Lo <kathy.lo.ky@gmail.com>
To: pgsql-jdbc@postgresql.org
Subject: "pg_toast_2772_index" problem
Date: Mon, 20 Aug 2007 11:36:11 +0800
Message-ID: <c10e7feb0708192036p16f66d01qfa3ff85198b102bd@mail.gmail.com> (raw)

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



view thread (2+ messages)  latest in thread

Message-ID: <c10e7feb0708192036p16f66d01qfa3ff85198b102bd@mail.gmail.com>
Permalink:  ../c10e7feb0708192036p16f66d01qfa3ff85198b102bd@mail.gmail.com/
Also on:    postgresql.org/message-id/c10e7feb0708192036p16f66d01qfa3ff85198b102bd@mail.gmail.com

 · 

reply

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: kathy.lo.ky@gmail.com
  Subject: Re: "pg_toast_2772_index" problem
  In-Reply-To: <c10e7feb0708192036p16f66d01qfa3ff85198b102bd@mail.gmail.com>
  References: <c10e7feb0708192036p16f66d01qfa3ff85198b102bd@mail.gmail.com>

* 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