cant write to file within call handler interface

Поиск
Список
Период
Сортировка
От 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 по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: V8.0rc1 On AIX.
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: V8.0rc1 On AIX.