hello i am not able to write to file until the pl call handler interface. this is the template which i am following
PG_FUNCTION_INFO_V1(my_call_handler); Datum my_call_handler(PG_FUNCTION_ARGS) { ...my code... int fd = open("filename",O_WRONLY); write(fd,buffer,strlen(buffer) + 1); //fsync(fd).......i tried this as well but did'nt work } __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend