Originally posted by Axr2
As for Jurij's method, it'll work - Depends if you don't mind retaining the same dbname.
in 9.2 the DBNEWID utility can be used to change both.

Thanks.