{"action":"created","issue":{"url":"https://api.github.com/repos/brianc/node-pg-copy-streams/issues/35","labels_url":"https://api.github.com/repos/brianc/node-pg-copy-streams/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/brianc/node-pg-copy-streams/issues/35/comments","events_url":"https://api.github.com/repos/brianc/node-pg-copy-streams/issues/35/events","html_url":"https://github.com/brianc/node-pg-copy-streams/pull/35","id":122604690,"number":35,"title":"Fix pg-copy-stream to work with node-postgres 4.x and node 4.2.2","user":{"login":"chriskinsman","id":1522018,"avatar_url":"https://avatars.githubusercontent.com/u/1522018?v=3","gravatar_id":"","url":"https://api.github.com/users/chriskinsman","html_url":"https://github.com/chriskinsman","followers_url":"https://api.github.com/users/chriskinsman/followers","following_url":"https://api.github.com/users/chriskinsman/following{/other_user}","gists_url":"https://api.github.com/users/chriskinsman/gists{/gist_id}","starred_url":"https://api.github.com/users/chriskinsman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriskinsman/subscriptions","organizations_url":"https://api.github.com/users/chriskinsman/orgs","repos_url":"https://api.github.com/users/chriskinsman/repos","events_url":"https://api.github.com/users/chriskinsman/events{/privacy}","received_events_url":"https://api.github.com/users/chriskinsman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-16T21:21:16Z","updated_at":"2015-12-16T22:53:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/brianc/node-pg-copy-streams/pulls/35","html_url":"https://github.com/brianc/node-pg-copy-streams/pull/35","diff_url":"https://github.com/brianc/node-pg-copy-streams/pull/35.diff","patch_url":"https://github.com/brianc/node-pg-copy-streams/pull/35.patch"},"body":"- Unpipe before pause to prevent a piped stream from resuming stream prior to event listeners being re-attached\r\n- Removed rewireup of close.  If rewired emits a duplicate end() because end is reconnected using on() instead of once().  Can't use once() due to reconnection of Duplex.onend()\r\n- Upgade devDependency to pg v 4.4.3\r\n- Change test references from pg.js to pg"},"comment":{"url":"https://api.github.com/repos/brianc/node-pg-copy-streams/issues/comments/165278895","html_url":"https://github.com/brianc/node-pg-copy-streams/pull/35#issuecomment-165278895","issue_url":"https://api.github.com/repos/brianc/node-pg-copy-streams/issues/35","id":165278895,"user":{"login":"brianc","id":50081,"avatar_url":"https://avatars.githubusercontent.com/u/50081?v=3","gravatar_id":"","url":"https://api.github.com/users/brianc","html_url":"https://github.com/brianc","followers_url":"https://api.github.com/users/brianc/followers","following_url":"https://api.github.com/users/brianc/following{/other_user}","gists_url":"https://api.github.com/users/brianc/gists{/gist_id}","starred_url":"https://api.github.com/users/brianc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianc/subscriptions","organizations_url":"https://api.github.com/users/brianc/orgs","repos_url":"https://api.github.com/users/brianc/repos","events_url":"https://api.github.com/users/brianc/events{/privacy}","received_events_url":"https://api.github.com/users/brianc/received_events","type":"User","site_admin":false},"created_at":"2015-12-16T22:53:31Z","updated_at":"2015-12-16T22:53:31Z","body":"I super appreciate this. The tests are failing for node@0.10.x - should we just drop support for that version of node? It's several years old now."}}