[EMAIL PROTECTED] writes:
> [ this trigger crashes the backend: ]
> void users()
> {
> FILE *fp;
> fp = fopen("/home/suresh/trigger/test.txt","w");
> fputs("Hello this is c function",fp);
> }
Triggers are supposed to return something --- especially BEFORE
triggers. See the examples in the manual.
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?
http://www.postgresql.org/users-lounge/docs/faq.html
