pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Triggers & BLOB's
2+ messages / 2 participants
[nested] [flat]

* Triggers & BLOB's
@ 2008-09-12 21:01  kevin kempter <kevin@kevinkempterllc.com>
  0 siblings, 1 reply; 2+ messages in thread

From: kevin kempter @ 2008-09-12 21:01 UTC (permalink / raw)
  To: pgsql-admin

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 ?

Thanks in advance...




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Triggers & BLOB's
@ 2008-09-12 21:07  Alvaro Herrera <alvherre@commandprompt.com>
  parent: kevin kempter <kevin@kevinkempterllc.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Alvaro Herrera @ 2008-09-12 21:07 UTC (permalink / raw)
  To: kevin kempter <kevin@kevinkempterllc.com>; +Cc: pgsql-admin

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2008-09-12 21:07 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2008-09-12 21:01 Triggers & BLOB's kevin kempter <kevin@kevinkempterllc.com>
2008-09-12 21:07 ` Alvaro Herrera <alvherre@commandprompt.com>

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