ERROR: invalid input syntax for integer: "smeg" LINE 1: SELECT url FROM supporter WHERE id = 'smeg' ^
SELECT url FROM supporter WHERE id = 'smeg'