pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@commandprompt.com>
To: kevin kempter <kevin@kevinkempterllc.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Triggers & BLOB's
Date: Fri, 12 Sep 2008 17:07:17 -0400
Message-ID: <20080912210717.GP8854@alvh.no-ip.org> (raw)
In-Reply-To: <1C560AEB-0265-4021-B60C-2F20D1971126@kevinkempterllc.com>
References: <1C560AEB-0265-4021-B60C-2F20D1971126@kevinkempterllc.com>

kevin kempter wrote:
> Hi All;
>
> Can I put an update/insert/delete trigger on a BLOB (lo_* style) column, 
> It looks like the trigger should actually live on the data column of the 
> pg_largeobject table to be effective. Is this correct ?

You can't put a trigger in pg_largeobject.  Of course, you can put a
trigger in the table that you're storing the OID's in.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support



view thread (2+ messages)

Message-ID: <20080912210717.GP8854@alvh.no-ip.org>
Permalink:  ../20080912210717.GP8854@alvh.no-ip.org/
Also on:    postgresql.org/message-id/20080912210717.GP8854@alvh.no-ip.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: alvherre@commandprompt.com, kevin@kevinkempterllc.com
  Subject: Re: Triggers & BLOB's
  In-Reply-To: <20080912210717.GP8854@alvh.no-ip.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox