Sibtay Abbas <[EMAIL PROTECTED]> writes:
> 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("filena
On Tue, Dec 14, 2004 at 10:31:41AM -0800, Sibtay Abbas wrote:
> i am not able to write to file until the pl call
> handler interface.
What are you expecting to happen and what actually does happen?
Saying only "it doesn't work" doesn't give us much to go on.
> this is the template which i am fol
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(bu