server side LO

Поиск
Список
Период
Сортировка
Искать

server side LO

От:
Maciej Wawrzynczuk <fazi@fpnp.pl>
Дата:
I'm writing the server side function what process large object, and i 
need the file descriptor for this LO. I looked in be-fsstubs.c, but i'm 
confused. Any simpler examples?

I think i can create procedure in plpgsql like this:

fd := lo_open(oid);
result := my_func(fd);
lo_close(fd);

It's will works? Will be descriptor valid inside my function?

PS: Sorry for my english. :)
FAQ