我有一个 linux 用户帐户、postgresql 角色和关联的数据库,都称为 foo。
从 linux 用户 foo,我运行了命令
dropdb foo
Run Code Online (Sandbox Code Playgroud)
现在,当我尝试从 linux 用户 foo 运行 psql 时,出现错误...
psql: FATAL: database "foo" does not exist
Run Code Online (Sandbox Code Playgroud)
那么这是否意味着从 linux 用户帐户运行 psql 时,必须有一个与该 linux 用户帐户相关联的数据库?
postgresql ×1