Hi
you can use a lo_* (lo_open, lo_close, ...) functions called via
FirectFunctionCall
http://michael.otacoo.com/postgresql-2/playing-with-large-objects-in-postgres/
http://www.postgresql.org/docs/9.3/static/lo-interfaces.html
Regards
Pavel Stehule
2015-01-26 20:19 GMT+01:00 Spiros Ioannou <sivann(at)inaccess(dot)com>:
> I'm writing a c-language user defined function for postgresql 9.3.5. I
> didn't use pl/pgsql or pl/python because part of it needs to be written in
> C for speed.
>
> The function gets an existing OID as an argument. How can I access &
> modify the OID data from within the c-language function? I can't find any
> docs for that!
>
> Thanks,
>
> -Spiros
>