X-Original-To: pgsql-jdbc-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 956789FA13E for ; Tue, 13 Jun 2006 14:12:40 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 02634-05 for ; Tue, 13 Jun 2006 14:12:32 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.183]) by postgresql.org (Postfix) with ESMTP id C0B359F9316 for ; Tue, 13 Jun 2006 14:12:32 -0300 (ADT) Received: by py-out-1112.google.com with SMTP id b29so1831543pya for ; Tue, 13 Jun 2006 10:12:31 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=lVDZQ7wtvRsivh7tCIRk0GUlWJ+EqLLPJ/uH3DqhmhGVpqSIfFw3c4kcb2T5fP3FfeAc0Y65wC1woaVYHGA+NJb7d9PXJReYNNkH7BYRqQ98Em8PngOQQfJzS0I8nne+RH4skPrL8aQ4WYAYoITsRSnrpdDx6cRl25utMyK94ko= Received: by 10.35.126.7 with SMTP id d7mr3190447pyn; Tue, 13 Jun 2006 10:12:31 -0700 (PDT) Received: by 10.35.127.5 with HTTP; Tue, 13 Jun 2006 10:12:31 -0700 (PDT) Message-ID: <699dfe050606131012o628eb77bx62760634d672a5b8@mail.gmail.com> Date: Tue, 13 Jun 2006 18:12:31 +0100 From: "Michael Burns" To: pgsql-jdbc@postgresql.org Subject: Overwriting largeobjects to be smaller than the original MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1940_8959056.1150218751685" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/32 X-Sequence-Number: 15312 ------=_Part_1940_8959056.1150218751685 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, What is the preferred way to update a largeobject where the size of the update is smaller than the original file? The only way I can think of is to remove the original largeobject then write the new one. Is there a more efficient way of achieving this? Many Thanks, ------=_Part_1940_8959056.1150218751685 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi,
What is the preferred way to update a largeobject where the size of the update is smaller than the original file? The only way I can think of is to remove the original largeobject then write the new one. Is there a more efficient way of achieving this?

Many Thanks,

------=_Part_1940_8959056.1150218751685--