| От | Sibtay Abbas |
|---|---|
| Тема | cant write to file within call handler interface |
| Дата | |
| Msg-id | 20041214183142.19773.qmail@web50007.mail.yahoo.com обсуждение |
| Ответы |
Re: cant write to file within call handler interface
Re: cant write to file within call handler interface |
| Список | pgsql-hackers |
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
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера