原文:pg_dump: [archiver (db)] connection to database “dbase” failed: FATAL: Peer authentication failed for user “postgres”

Peer authentication means that it s comparing your database username against your Linux username. It should work if you re logged in aspostgres. You probably don t want to hit thatmd rule inpg hba, a ...

2017-07-24 00:03 0 1696 推荐指数:

查看详情

pg_dump: [archiver (db)] query failed: ERROR: out of shared memory HINT: You might need to increase max_locks_per_transaction. IN ACCESS SHARE MODE

问题描述 在使用postgres执行一个存储过程,存储过程的操作是对全库上百张表添加字段,执行到一半的时候抛出了错误:You might need to increase max_locks_per_transaction。 原因 因为一个过程中操作的表过多,超过了最大对象锁的限制数量,导致 ...

Wed Feb 12 02:39:00 CST 2020 0 793
PostgreSQL新手上路PG::ConnectionBad (FATAL: Peer authentication failed

部署完的新机器报错 上网查了一下,很多帖子上都在说要修改/etc/postgresql/9.4/main/pg_hba.conf这个文件,然而并没有什么用 回忆一下整个数据库搭建过程 (1)创建数据库用户dbuser,并指定其为超级用户 (2)创建数据库 ...

Wed Aug 26 01:42:00 CST 2015 0 3535
FATAL: password authentication failed for user "XXX"

一、环境 操作系统:Windows Server 2008 R2 数据库:PostgreSQL 9.2 + PostgreSQL 11.4 (因应用特殊需求,使用了两个版本数据库) 应用:To ...

Thu Jan 14 18:31:00 CST 2021 0 552
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM