There is a function in our system that writes a file to a postgres BLOB, the function is pg_lo_write
, our system uses PHP, ADODB and PostgreSQL.
What I would like to know is where is this data stored, is it a file in a postgres directory, in a table?
Many thanks!
Answer Information
Thanks to Ben Fransen for the answer, the BLOB is in fact stored in the pg_largeobject
table. I'm using pgAdmin and the table is hidden from view, however it can be accessed using a query.
SELECT * FROM pg_largeobject WHERE LOID = 123456