无法更新或删除 table 中的行 (Postgres)

Can't update or delete row from table (Postgres)

我有 table 和 bytea 字段。当我尝试从此 table 中删除一行时,出现这样的错误:

[42704] ERROR: large object 0 does not exist

遇到这种情况你能帮帮我吗?

编辑。来自命令的信息 \d photo:

    Table "public.photo"
   Column   |          Type          | Modifiers 
------------+------------------------+-----------
 id         | character varying(255) | not null
 ldap_name  | character varying(255) | not null
 file_name  | character varying(255) | not null
 image_data | bytea                  | 
Indexes:
    "pk_photo" PRIMARY KEY, btree (id)
    "photo_file_name_key" UNIQUE CONSTRAINT, btree (file_name)
    "photo_ldap_name" btree (ldap_name)
Triggers:
    remove_unused_large_objects BEFORE DELETE OR UPDATE ON photo FOR EACH ROW EXECUTE PROCEDURE lo_manage('image_data')

尝试使用这个

从主键 = 'you want to delete' 的照片中删除;

触发:

drop trigger remove_unused_large_objects on photo;