安装最新的 PowerShell,了解新功能和改进!https://aka.ms/PSWindows
PS C:\WINDOWS\system32> net stop postgresql-x64-18
postgresql-x64-18 服务正在停止.
postgresql-x64-18 服务已成功停止。
PS C:\WINDOWS\system32> net start postgresql-x64-18
postgresql-x64-18 服务正在启动 .
postgresql-x64-18 服务已经启动成功。
管理员登录: admin@admin.com / 123456
代理商登录: agent@agent.com / 123456
经理登录: manager@test.com / 123456
主管登录: supervisor@test.com / 123456
业务员登录: staff1@test.com / 123456
重启后,账号 postgres 密码 postgres 就可以正常使用了。