postgresql - 忽略 JetBrains 中的 extra_float_digits 参数

标签 postgresql pycharm jetbrains-ide datagrip

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

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

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

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

最佳答案

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

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

ignore_startup_parameters = extra_float_digits

关于postgresql - 忽略 JetBrains 中的 extra_float_digits 参数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65238920/

相关文章:

python - `with return .. return` 是无法访问的代码吗?

pycharm - 这个 JetBrains/PyCharm/WebStorm 快捷方式组合的含义是什么?

python - PyCharm (JetBrains) IDE - 在其他分屏上转到声明

postgresql - postgres 如何处理位数据类型?

sql - PostgreSQL - 替换 HTML 实体

python - 访问另一个窗口textEntry (Python)

java - IntelliJ 将数组值对齐到右边距

java - Dropwizard JDBI 3 ResultSetMapper 忽略字段

java - 使用 jooq 进行 hstore 合并的重复键

python - 如何关闭PyCharm的Python控制台中的 "Special Variables"窗口?