File System Access: - Mailing list pgsql-general

From Oisin Glynn
Subject File System Access:
Date
Msg-id 451A9587.2020406@oisinglynn.com
Whole thread Raw
Responses Re: File System Access:  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-general
All,

I have a need to create/copy/delete files on my server from a function
in PostreSql. I am running 8.x PostreSql on Windows 200x and my
functions etc are currently only in PL/pgSQL. Is there a way to create
files/copy them and delete them from PL/pgSQL or could i call an
external bat file job from PL/pgSQL.
Or do I need to branch into doing something with a different language
(perhaps PL/PerlU)?  If anyone has an example or experience they could
share I would appreciate it.
I had thought about having a table with a list of operations and then
scheduling a job in the OS to call and execute them but these operations
need to happen in real time.

Thanks in advance,

Oisin

Attachment

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Strange query results with invalid multibyte character
Next
From: "Hakan Kocaman"
Date:
Subject: Re: Fulltext index in postgres?