Let's say I wanna update a row where this ID ('UBI1075') exist. When I update a row using the right ID, it's good, as it should be. But when I put the wrong ID (let's say 'UBI1077'), PostgreSQL doesn't show any error message, instead it returns a message "Affected rows: 0"
How can I tell the user that the update did nothing or there is no such ID?