title: What's the cause of "PGError: FATAL: terminating connection due to administrator command" on heroku?
body: <p>I have a rails app on heroku that users log in to. I periodically get this exception: </p>
  
  <blockquote>
    <p>UserSessionsController#
    (ActiveRecord::StatementInvalid)
    &quot;PGError: FATAL: terminating
    connection due to administrator
    command\nserver closed the connection
    unexpectedly\n\tThis probably means
    the server terminated
    abnormally\n\tbef...</p>
  </blockquote>
  
  <p>URL</p>
  
  <pre><code>POST http://secure.huckberry.com/user_sessions
  </code></pre>
  
  <p>What's a likely cause of this? I'd appreciate any help.</p>