dbTalk Databases Forums  

User Defined Functions/management of OS_Directories

comp.databases.postgresql.general comp.databases.postgresql.general


Discuss User Defined Functions/management of OS_Directories in the comp.databases.postgresql.general forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Tham Paudel
 
Posts: n/a

Default User Defined Functions/management of OS_Directories - 10-19-2004 , 01:25 PM






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

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.