cost 155 ms
Ubuntu 上的 Postgres,控制 postgresql.conf 位置 - Postgres on Ubuntu, controlling the postgresql.conf location

我创建了一个集群,如下所示: 但是,当集群启动时,它实际上将pg.prod.conf文件复制到了默认目录( -c config_file=/etc/postgresql/13/apif/postgresql.conf )而不是使用它。 这意味着如果我对文件进行更改,当然,它们将不会被看到。 那不是我 ...

Postgres 从 9.5 升级到 12 不能在只读事务中执行 UPDATE - Postgres Upgrade from 9.5 to 12 cannot execute UPDATE in a read-only transaction

自从从 9.5 迁移到 12 以来,我们在数据库日志中看到了很多错误。 正在运行的查询是一个基本更新语句,它更改用户登录的日期。 2021-03-03 09:23:43.235 CET [18820] 错误:无法在只读事务中执行更新当我们使用旧版本的 postgres 时,我们没有看到这些错误。 ...

PostgreSQL (pg_hba.conf / postgresql.conf) 与服务器的连接丢失。 尝试重置:失败 - PostgreSQL (pg_hba.conf / postgresql.conf) The connection to the server was lost. Attempting reset: Failed

我对 Postgres 有一个问题,其他人似乎已经找到了,但以某种方式给出的解决方案对我不起作用。 我解释: 我用什么 macOS 10.15.6 通过 Homebrew 安装 x86_64-apple-darwin 上的 PostgreSQL 12.2,由 Apple LLVM 6 ...

在生产中更改 Postgresql 设置是否安全? - Is it safe to change Postgresql settings in production?

我开始了一个已经投入生产的项目,我们有一些客户已经注册并支付了服务费用(SaaS 业务)。 我们使用 Ubuntu VPS 和 Postgresql 和默认 postgresql.conf 设置。 基于 PGtune,为了优化数据库,我应该在 postgresql.conf 中设置这些设置: 目前 ...

如何解决错误:无法启动 WAL 流:错误:复制槽“xxx”对于 PID 124563 处于活动状态 - how to resolve ERROR: could not start WAL streaming: ERROR: replication slot "xxx" is active for PID 124563

问题,。 在设置了我的逻辑复制并且一切运行顺利之后,我只想深入研究日志以确认那里没有错误。 但是当我tail -f postgresql.log时,我发现以下错误不断重复ERROR: could not start WAL streaming: ERROR: replication slot "su ...

PostgreSQL 11 配置不允许 pgAdmin4 连接 - PostgreSQL 11 configurations doesn't allow pgAdmin4 to connect

我对 PostgreSQL 很陌生,所以问题可能很简单。 所以。 我已经在 Fedora 29 上安装了 PostgreSQL 11 和 pgAdmin 4。我可以通过终端或 AzureDataStudio 连接到数据库,但是当我尝试与 pgAdmin 连接时,出现此错误: 无法连接到服务器: ...


 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM