X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 642A5D98A9 for ; Mon, 10 Oct 2005 07:10:29 -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 05538-08 for ; Mon, 10 Oct 2005 10:10:24 +0000 (GMT) Received: from mail.metronet.co.uk (mail.metronet.co.uk [213.162.97.75]) by svr1.postgresql.org (Postfix) with ESMTP id 50A72D97D5 for ; Mon, 10 Oct 2005 07:10:25 -0300 (ADT) Received: from mainbox.archonet.com (84-51-143-99.archon037.adsl.metronet.co.uk [84.51.143.99]) by smtp.metronet.co.uk (MetroNet Mail) with ESMTP id B6B8F40C2DF; Mon, 10 Oct 2005 11:10:19 +0100 (BST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mainbox.archonet.com (Postfix) with ESMTP id 8B55E15EDA; Mon, 10 Oct 2005 11:06:41 +0100 (BST) Received: from mainbox.archonet.com ([127.0.0.1]) by localhost (mainbox [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04522-05; Mon, 10 Oct 2005 11:06:38 +0100 (BST) Received: from [192.168.1.17] (client17.office.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id 6873015ED5; Mon, 10 Oct 2005 11:06:38 +0100 (BST) Message-ID: <434A3D2F.90907@archonet.com> Date: Mon, 10 Oct 2005 11:06:39 +0100 From: Richard Huxton User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050912) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Premsun Choltanwanich Cc: pgsql-sql@postgresql.org Subject: Re: How to delete Large Object from Database? References: <43465BAA.C5F7.004C.0@nsasia.co.th> <434623FD.7000408@archonet.com> <434A8F85.C5F7.004C.0@nsasia.co.th> In-Reply-To: <434A8F85.C5F7.004C.0@nsasia.co.th> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.058 required=5 tests=[AWL=0.008, FORGED_RCVD_HELO=0.05] X-Spam-Level: X-Archive-Number: 200510/78 X-Sequence-Number: 22931 Premsun Choltanwanich wrote: > > The lib I use is call lo_in and lo_out for manage BLOB. > > I understand that lo_unlink be related with lo_import and lo_export so I > don't think that it work. If you are using the contrib/lo library, then README.lo mentions: * Some frontends may create their own tables, and will not create the associated trigger(s). Also, users may not remember (or know) to create the triggers. Could this be the case with your database? There are a couple of other points in the README.lo that are worth checking too. -- Richard Huxton Archonet Ltd