Did you even look for the information on postgresql.org?
http://stream.boxwatch.ru/docs/8.2/interactive/sql-createuser.html