如何在 Google Cloud SQL 上更改 postgresql.conf 参数

How to change the postgresql.conf parameter on Google Cloud SQL

如何在 Google Cloud SQL 上更改 postgresql.conf 参数 "max_connections"?

当我超过 100 个连接时,出现错误:"FATAL: remaining connection slots are reserved for non-replication superuser connections"

通常您会通过 CloudSQL 标志 API(或 UI)来完成此操作:https://cloud.google.com/sql/docs/postgres/flags

但是,max_connections 不是我们目前支持的参数。我们(CloudSQL 中的 Postgres 团队)意识到低 max_connections 是某些(许多?)应用程序的问题,并将在下一个版本中解决问题。

请在我们的 public 问题跟踪器上关注 issue 37271935 以获取更新。