PostgreSQL 'Sever closed the connection unexpectedly'

依然范特西╮ 提交于 2019-12-11 02:29:33

问题


I am using Psycopg2 to insert into a local PostgreSQL database, however since upgrading my PC to windows 10 I keep getting the following error:

psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally before or while processing the request.

Sometimes the insert is successful, but can take a few attempts to do it. Also when accessing the database through pgadmin III I also get the same error messages when navigating through databases on the server.

I don't get any issues when running this on windows 7 - are there any solutions to this issue?

来源:https://stackoverflow.com/questions/34665652/postgresql-sever-closed-the-connection-unexpectedly

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!