Tilo Schwarz <mail(at)tilo-schwarz(dot)de> writes:
> Now my question is, if I can directly change the value of
> "pg_constraint.conname", or am I calling for trouble that way?
If it's a foreign-key constraint, I think you'd also need to update
pg_trigger.tgconstrname for the triggers belonging to the constraint.
regards, tom lane