Here is a patch to add a command
ALTER TABLE ... RENAME CONSTRAINT ...
Currently, it only supports table constraints. I have an almostfinished patch for renaming domain constraints, but it is easier to keepit separate.