Search Postgresql Archives

Re: How to access large objects in Postgresql c-language functions?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx>:
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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux