我正在尝试使用psql创建一个具有加密密码的超级用户PostgreSQL用户。CREATEUSER my_username SUPERUSER WITH ENCRYPTED PASSWORD 'MYPASS'; 但是,上面的命令会导致以下错误 ERROR: syntax errorat or near "WITH"
LINE 1: CREATEUSER my_username SUPERUSER WITH ENCRYPTED PASS
运行rake db:create时,我收到一些奇怪的消息,无法创建数据库。user1234@ubuntu:~/Development/example$ psql -d postgres
psql: FATAL: role "user1234" does not existuser1234@ubuntu:~/Development/example$ psql -d postgres -U po