postgresql - 忽略 JetBrains 中的 extra_float_digits 参数

我尝试通过 JetBrains 产品(PyCharm 或 DataGrip)连接到 PostgreSQL 数据库,但我得到了

[08P01] 错误:不支持的启动参数:extra_float_digits。

我在 PgBouncer 中看到了有关 extra_float_digits 参数的答案,但我无法使用 PgBouncer 访问服务器。

有没有办法在客户端解决这个问题?

最佳答案

这是一条 pgBouncer 错误消息,因此您必须通过 pgBouncer 进行连接。

您必须将此添加到 pgbouncer.ini:

ignore_startup_parameters = extra_float_digits

https://stackoverflow.com/questions/65238920/

相关文章:

apache-kafka - 如何删除一个特定主题的组的消费者偏移量

c# - 使用 Lamar 注入(inject)运行时对象

python - 子进程无法使用 Pandas 执行文件

python - 如何将路径参数转发到 VPC 链路端点?

android - 在 Kotlin 中检查两个对象的某些(不是全部)属性是否相等的惯用方法

c# - EFCore5,使用 FromSqlRaw 和 [Owned] 属性

git - 如何在 "git checkout"的输出中着色分支名称?

ruby-on-rails - 将复杂的哈希传递给 Sidekiq 作业

vim - 按箭头键时,取消 vim 终端模式

ansible - 我怎样才能访问另一台服务器的ansible facts?