title: psycopg2 DatabseError could not receive data from sever: Software caused connection abort
body: <p>I use the psycopg2 package to receive data from the sever. The data have more than 500 thousand rows. The error occurs at the 492349 rows. Why?</p>
  
  <p>I googled this question and find the similar question on the website: <a href="http://www.postgresql.org/message-id/20060311110727.7E26BF0A01@svr2.postgresql.org" rel="nofollow">http://www.postgresql.org/message-id/20060311110727.7E26BF0A01@svr2.postgresql.org</a></p>
  
  <p>Is the size of file the problem? My file already reached 13.1M.</p>