{"action":"opened","issue":{"url":"https://api.github.com/repos/brianc/node-postgres/issues/725","labels_url":"https://api.github.com/repos/brianc/node-postgres/issues/725/labels{/name}","comments_url":"https://api.github.com/repos/brianc/node-postgres/issues/725/comments","events_url":"https://api.github.com/repos/brianc/node-postgres/issues/725/events","html_url":"https://github.com/brianc/node-postgres/issues/725","id":57105336,"number":725,"title":"This socket has been ended by the other party","user":{"login":"kikar","id":5789374,"avatar_url":"https://avatars.githubusercontent.com/u/5789374?v=3","gravatar_id":"","url":"https://api.github.com/users/kikar","html_url":"https://github.com/kikar","followers_url":"https://api.github.com/users/kikar/followers","following_url":"https://api.github.com/users/kikar/following{/other_user}","gists_url":"https://api.github.com/users/kikar/gists{/gist_id}","starred_url":"https://api.github.com/users/kikar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kikar/subscriptions","organizations_url":"https://api.github.com/users/kikar/orgs","repos_url":"https://api.github.com/users/kikar/repos","events_url":"https://api.github.com/users/kikar/events{/privacy}","received_events_url":"https://api.github.com/users/kikar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-09T23:13:52Z","updated_at":"2015-02-09T23:13:52Z","closed_at":null,"body":"Why is this happening? I connect my server to db with pg.connect, and execute few queries with the client given, and after every query, i call done(). What's wrong?\r\n\r\nat Socket.writeAfterFIN [as write] (net.js:276:12)\r\nat Connection.query (/node_modules/pg/lib/connection.js:189:15)\r\nat Query.submit (/node_modules/pg/lib/query.js:106:16)\r\nat Client._pulseQueryQueue (/node_modules/pg/lib/client.js:293:24)\r\nat Client.query (/node_modules/pg/lib/client.js:321:8)\r\n"}}