ERROR: invalid input syntax for type bigint: "" LINE 1: SELECT * from sac.bankdeposit where id='' ^