DB Error: ERROR: invalid input syntax for integer: "565.pdf"