I tried inserting a record into a Postgres database, and got a "key already exists" error message, in Go:
S:"ERROR" M:"duplicate key value violates unique constraint \"unique_name\"" n:"unique_name"
F:"nbtinsert.c" L:"398" C:"23505" D:"Key (name)=(kevinburke) already exists."
s:"public" t:"players" R:"_bt_check_unique"
It's clear that each of these fields has a meaning for Postgres. I've tried searching for documentation but I can't find anything online; where can I find out what each of the fields means?
(For reference, the string I am looking at is generated by the "pq" Go driver wrapper: https://github.com/bmizerany/pq/blob/master/error.go#L32)