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 70580D9CB2 for ; Tue, 11 Oct 2005 00:01:14 -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 18395-06 for ; Tue, 11 Oct 2005 03:01:11 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 88F6FD6F63 for ; Tue, 11 Oct 2005 00:01:10 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j9B30rdA008633; Mon, 10 Oct 2005 23:00:53 -0400 (EDT) To: "Premsun Choltanwanich" Cc: "Richard Huxton" , pgsql-sql@postgresql.org Subject: Re: How to delete Large Object from Database? In-reply-to: <434B81B8.C5F7.004C.0@nsasia.co.th> References: <43465BAA.C5F7.004C.0@nsasia.co.th> <434623FD.7000408@archonet.com> <434A8F85.C5F7.004C.0@nsasia.co.th> <434A3D2F.90907@archonet.com> <434B81B8.C5F7.004C.0@nsasia.co.th> Comments: In-reply-to "Premsun Choltanwanich" message dated "Tue, 11 Oct 2005 09:11:21 +0700" Date: Mon, 10 Oct 2005 23:00:53 -0400 Message-ID: <8632.1128999653@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 required=5 tests=[AWL=0.006] X-Spam-Level: X-Archive-Number: 200510/80 X-Sequence-Number: 22933 "Premsun Choltanwanich" writes: > The code that show below is refered to table and function that I use for = > kept BLOB (LO). > > CREATE TABLE t_data_pic > ( > "sysid" bigserial NOT NULL, > data_sysid int8 NOT NULL, > data_pic lo, > CONSTRAINT t_data_pic_pkey PRIMARY KEY ("sysid") > ) > WITH OIDS; > ALTER TABLE t_data_pic OWNER TO admin; Why am I not seeing any trigger attached to this table? That lo_manage trigger is the useful part of contrib/lo --- the separate data type is mere window dressing. regards, tom lane