Synchronize filenames in table with filesystem

From: Ludwig Kniprath <ludwig(at)kni-online(dot)de>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Synchronize filenames in table with filesystem
Date: 2009-12-01 17:19:50
Message-ID: 14094527.722781259687990121.JavaMail.servlet@kundenserver
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi List,
not another question on how to store files (db or filesystem), i decided to use the filesystem.

I'm now searching for a trigger, that deletes the physical file when deleting a database-record containing the filename in one of its fields. Is there a sample somewhere how this could be done? I'm runnig PG 8.4 on a windows machine.

Regards
Ludwig

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Richard Broersma 2009-12-01 17:34:54 Re: Synchronize filenames in table with filesystem
Previous Message Le-shin Wu 2009-12-01 16:55:24 Re: import data from openoffice Calc