I'm running into some unique constraint problems with my database. I can't reproduce them, but see error messages from our production system:
exception 'UniqueViolation' with message
'SQLSTATE[23505]: Unique violation: 7 ERROR:
duplicate key value violates unique constraint...'
When I check the log files, I see the statement causing the exception.
Unfortunately, I don't see what the bind parameters for the SQL statement are.
The documentation for 8.3 seems to indicate that I could log the bind parameters, but I cannot determine how to turn on logging.
Can anybody help me figure out what to change in postgresql.conf
?