它完全是空白的,然后我使用sudo apt-get install postgresql安装了Postgres。我通过设置postgresql.conf文件来编辑listen_addresses = '*'文件。pg_hba.conf文件:host all all 0.0.0.0/0 md5 host all all ::/0
在在线检查之后,我得出结论,我需要使用名为"postgres“的超级用户,它是我在安装过程中设置的密码的系统用户。
我现在正试图将PostgreSQL设置为这个超级用户。我尝试了postgres ALTER USER myuser WITH SUPERUSER (我在Windows命令提示符中写了这个),但是它说"alter“是不被识别的。