User Defined Functions/management of OS_Directories

From: Tham Paudel <paudel2001(at)yahoo(dot)de>
To: pgsql-general(at)postgresql(dot)org
Subject: User Defined Functions/management of OS_Directories
Date: 2004-10-19 18:25:16
Message-ID: 20041019182516.83976.qmail@web25403.mail.ukl.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hallo!
I have a big problem, I am under time pressure to
finish my project. can anybody please help me?

I am developing a DB System associated with a File
server. The DB Server should manage directories which
could be, I thought, created through fired Triggers.
I wrote a C function and compiled as -shared, created
function and created trigger to execute procedure. But
its not working. Is there somewhere any example? Or c
functions guidelines? Or knows anybody how could I do
it?

After "insert into" command I got following Meldung
and none of the commands inside the c function like
mkdir(dir) are not executed:

server closed the connection unexpectedly
This probably means the server terminated
abnormally
before or while processing the request.
The connection to the server was lost. Attempting
reset: Failed.

Thanks



___________________________________________________________
Gesendet von Yahoo! Mail - Jetzt mit 100MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de

Browse pgsql-general by date

  From Date Subject
Next Message Josh Close 2004-10-19 18:32:59 Re: removing idle connections
Previous Message Gary Doades 2004-10-19 18:24:23 Re: removing idle connections