可以在读写模式下连接到Postgres
我正在使用PSQL连接到数据库。
我可以以读取
模式连接(target_session_attrs
param具有默认值), 但是,当我尝试以read-write
模式连接
时:无法与Server'Server_name''建立可写的连接
- 。
- 如何在
read-write
模式下使用PSQL连接到DB?
I am using psql to connect to database.
I can connect in read-only
mode (target_session_attrs
param has default value),
but when I try to connect in read-write
mode (target_session_attrs
param has read-write
value) I get following message:
psql: could not make a writable connection to server 'server_name'
- What can be the reason of this error?
- How can I connect to db using psql in
read-write
mode?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论