X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 2DF8DD1B1D5 for ; Thu, 8 Jul 2004 03:47:03 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 54154-09 for ; Thu, 8 Jul 2004 06:46:55 +0000 (GMT) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by svr1.postgresql.org (Postfix) with ESMTP id 56D01D1B1B3 for ; Thu, 8 Jul 2004 03:46:53 -0300 (ADT) Received: from server3.messagingengine.com (server3.internal [10.202.2.134]) by mail.messagingengine.com (Postfix) with ESMTP id EFA68C116D0 for ; Thu, 8 Jul 2004 02:46:53 -0400 (EDT) Received: by server3.messagingengine.com (Postfix, from userid 99) id 31A3416FA55; Thu, 8 Jul 2004 02:46:54 -0400 (EDT) Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="ISO-8859-1" MIME-Version: 1.0 X-Mailer: MIME::Lite 1.4 (F2.72; T1.001; A1.62; B3.01; Q3.01) Subject: bpchat cannot exceed 10485760 To: pgsql-jdbc@postgresql.org Date: Thu, 08 Jul 2004 12:16:54 +0500 From: "Amish Munshi" X-Sasl-Enc: Ct6sZNXe2Np6vp5ADi//HQ 1089269214 Message-Id: <1089269214.5443.199950926@webmail.messagingengine.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.2 tagged_above=0.0 required=5.0 tests=SUBJ_HAS_UNIQ_ID X-Spam-Level: X-Archive-Number: 200407/55 X-Sequence-Number: 10439 Greetings, I am migrating a database from HSQLDB to Postgresql. I am using the HSQL Database manager to transfer my data from HSQL to postgres and found a hurdle. I hope this is not a bug. I have approx 50MB of SQL database in HSQL. After doing a "transfer" of some tables it stops transfer for the rest crying "bpchar cannot be greater than a *certain* size". *certain* - > approx 10 million or greater. I tried transferring one of the problematic table (using dbmanager) and it fails as well with same error. The exact error message is as follows. org.hsqldb.util.DataAccessPointException: ERROR: length for type bpchar cannot exceed 10485760 at org.hsqldb.util.TransferDb.execute(Unknown Source) at org.hsqldb.util.TransferTable.transferStructure(Unknown Source) at org.hsqldb.util.Transfer.transfer(Unknown Source) at org.hsqldb.util.Transfer.actionPerformed(Unknown Source) at java.awt.Button.processActionEvent(Button.java:382) at java.awt.Button.processEvent(Button.java:350) at java.awt.Component.dispatchEventImpl(Component.java:3615) at java.awt.Component.dispatchEvent(Component.java:3477) at java.awt.EventQueue.dispatchEvent(EventQueue.java:456) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137) at java.awt.EventDispatchThread.run(EventDispatchThread.java:100) I assumed it was an HSQL bug, but I hacked a little more and find that there is probably a postgresql involved in this problem. Any clues or pointers on how should I transfer the data? Or some pointers on where the problem actually is would be of great help. Regards. Amish K. Munshi. Always Available, Everywhere.