在 postgres google 云中将用户升级为超级用户

upgrade user to superuser in postgres google cloud

如何使用 google 云控制台在 Postgres 服务器中创建具有超级用户角色的用户?

当我在 google 云中创建数据库时,默认用户是非超级用户。无法从此角色升级。

没办法:

https://cloud.google.com/sql/docs/postgres/users

The postgres user is part of the cloudsqlsuperuser role, and has the following attributes (privileges): CREATEROLE, CREATEDB, and LOGIN. It does not have the SUPERUSER or REPLICATION attributes.