Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id EAB429F9745 for ; Mon, 20 Aug 2007 00:36:16 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 06735-01 for ; Mon, 20 Aug 2007 00:36:12 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.185]) by postgresql.org (Postfix) with ESMTP id 5B0AB9F9BF1 for ; Mon, 20 Aug 2007 00:36:12 -0300 (ADT) Received: by rv-out-0910.google.com with SMTP id l15so862905rvb for ; Sun, 19 Aug 2007 20:36:11 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=ew/5dGBgdoDDI5McW79j/oqUgucMgRAw0DdjjcOiNatpRHNMCPLq34vCLspcYvONbFaGmlkyGn4KAubHd2gefz22Ngzf6NePRTj4tsqtrau3t3xGE4Ol1uNYA2ufoCQCenIukrKGKhAFuz/0ErPOstuEO878iQf1H9JfvQKgOmc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=PH5bBkjAlpKzBQWIu0XotMhCOlZ67f3MUZAbj7qq/jBnzmAIW7R9aE9mosbMEc78who1my9It1vfcyTf+Kfb10ZkxE/IItkaZhEPO9xJlX8UkkfjD0E8MjIDr+KvaL3iPPevLVaQiBMYS+fKCvW5oQiKxHh7t4PQV5apRVHa9MI= Received: by 10.140.133.10 with SMTP id g10mr2440215rvd.1187580971240; Sun, 19 Aug 2007 20:36:11 -0700 (PDT) Received: by 10.141.62.8 with HTTP; Sun, 19 Aug 2007 20:36:11 -0700 (PDT) Message-ID: Date: Mon, 20 Aug 2007 11:36:11 +0800 From: "Kathy Lo" To: pgsql-jdbc@postgresql.org Subject: "pg_toast_2772_index" problem MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200708/82 X-Sequence-Number: 17395 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