add remove split language chart show hidden hide
db<>fiddle
donate feedback about
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
f_tbl_insert
null
f_tbl_insert
null
a b
x y
null null
ab
x
y
ERROR:  duplicate key value violates unique constraint "tbl_ab_pkey"
DETAIL:  Key (ab)=(x) already exists.
CONTEXT:  SQL function "f_tbl_insert" statement 1

ERROR:  duplicate key value violates unique constraint "tbl_ab_pkey"
DETAIL:  Key (ab)=(y) already exists.
CONTEXT:  SQL function "f_tbl_insert" statement 1

ERROR:  duplicate key value violates unique constraint "tbl_ab_pkey"
DETAIL:  Key (ab)=(x) already exists.
CONTEXT:  SQL function "f_tbl_insert" statement 1