View Single Post

   
  #2 (permalink)  
Old 04-16-2008, 12:59 AM
Kris Jurka
 
Posts: n/a
Default Re: Deleting LargeObjects as BLOBS



On Thu, 10 Jan 2008, Jason Blumenkrantz wrote:

> [how do I auto delete a blob when the row referring to it goes away]


The easiest thing to do is to define an AFTER DELETE trigger on your table
to cleanup the LO when the row goes away.

Kris Jurka

---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at

http://www.postgresql.org/about/donate

Reply With Quote