Register now or log in to join your professional community.
You can simply call RAISE EXCEPTION in transaction.
RAISE EXCEPTION 'Nonexistent ID --> %', user_id USING HINT = 'Please check your user ID';Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.