Currently i am using PostgreSQL Plus Advance Server 9.3 and i just created a table which has a column of blob type and i am using oid data type to store blob value.
Now i want to create a BEFORE UPDATE AND DELETE TRIGGER to remove the orphan data from pg_largeobject table of postgresql using:
CREATE TRIGGER DEL_OID BEFORE UPDATE OR DELETE ON INFO_LOB
FOR EACH ROW EXECUTE PROCEDURE lo_manage (BLOB_VALUE_);
But when i am trying to execute this trigger, Getting error:
ERROR: function lo_manage() does not exist
SQL state: 42883
so i am not able to understand that what is the mistake that i am doing. can somebody please help me? thanks