Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 6EBC26342FA for ; Fri, 22 Jan 2010 20:04:14 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 66119-09 for ; Sat, 23 Jan 2010 00:03:57 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from leary.csoft.net (leary.csoft.net [205.205.214.5]) by mail.postgresql.org (Postfix) with ESMTP id DBCD0634043 for ; Fri, 22 Jan 2010 20:04:03 -0400 (AST) Received: by leary.csoft.net (Postfix, from userid 1112) id D9413A35C; Fri, 22 Jan 2010 19:04:01 -0500 (EST) Date: Fri, 22 Jan 2010 19:04:01 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: "Satish Burnwal (sburnwal)" cc: pgsql-jdbc@postgresql.org Subject: Re: How to use JDBC to update LargeObject In-Reply-To: <3A8C969225424C4D8E6BEE65ED8552DA89D799@XMB-BGL-41C.cisco.com> Message-ID: References: <3A8C969225424C4D8E6BEE65ED8552DA89D653@XMB-BGL-41C.cisco.com> <4B5808C5.4050906@enterprisedb.com> <3A8C969225424C4D8E6BEE65ED8552DA89D6E5@XMB-BGL-41C.cisco.com> <3A8C969225424C4D8E6BEE65ED8552DA89D799@XMB-BGL-41C.cisco.com> User-Agent: Alpine 2.00 (BSO 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.542 tagged_above=-10 required=5 tests=AWL=0.057, BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 201001/67 X-Sequence-Number: 20263 On Fri, 22 Jan 2010, Satish Burnwal (sburnwal) wrote: > I am using Postgres 8.1 where truncate feature is not supported. Can you > pls confirm this ? This is src code in 8.3-605 AbstractJdbc2BlobClob > class and I do get the exception: OK, then you cannot re-use the existing blob. You've got to remove the old one and create a new one. Kris Jurka