{"action":"closed","number":1701,"pull_request":{"url":"https://api.github.com/repos/brianc/node-postgres/pulls/1701","id":204659960,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0NjU5OTYw","html_url":"https://github.com/brianc/node-postgres/pull/1701","diff_url":"https://github.com/brianc/node-postgres/pull/1701.diff","patch_url":"https://github.com/brianc/node-postgres/pull/1701.patch","issue_url":"https://api.github.com/repos/brianc/node-postgres/issues/1701","number":1701,"state":"closed","locked":false,"title":"refactor: simplify the escapeIdentifier logic","user":{"login":"gajus","id":973543,"node_id":"MDQ6VXNlcjk3MzU0Mw==","avatar_url":"https://avatars2.githubusercontent.com/u/973543?v=4","gravatar_id":"","url":"https://api.github.com/users/gajus","html_url":"https://github.com/gajus","followers_url":"https://api.github.com/users/gajus/followers","following_url":"https://api.github.com/users/gajus/following{/other_user}","gists_url":"https://api.github.com/users/gajus/gists{/gist_id}","starred_url":"https://api.github.com/users/gajus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gajus/subscriptions","organizations_url":"https://api.github.com/users/gajus/orgs","repos_url":"https://api.github.com/users/gajus/repos","events_url":"https://api.github.com/users/gajus/events{/privacy}","received_events_url":"https://api.github.com/users/gajus/received_events","type":"User","site_admin":false},"body":"Fixes #1699","created_at":"2018-07-29T20:29:51Z","updated_at":"2018-07-30T02:46:23Z","closed_at":"2018-07-30T02:46:23Z","merged_at":"2018-07-30T02:46:23Z","merge_commit_sha":"e7602bc67862ea41c579f382060b3fbd066cdc25","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/brianc/node-postgres/pulls/1701/commits","review_comments_url":"https://api.github.com/repos/brianc/node-postgres/pulls/1701/comments","review_comment_url":"https://api.github.com/repos/brianc/node-postgres/pulls/comments{/number}","comments_url":"https://api.github.com/repos/brianc/node-postgres/issues/1701/comments","statuses_url":"https://api.github.com/repos/brianc/node-postgres/statuses/00d749cdfa62c483a2327d68f57eac1ebdbe10c4","head":{"label":"gajus:issue-1699","ref":"issue-1699","sha":"00d749cdfa62c483a2327d68f57eac1ebdbe10c4","user":{"login":"gajus","id":973543,"node_id":"MDQ6VXNlcjk3MzU0Mw==","avatar_url":"https://avatars2.githubusercontent.com/u/973543?v=4","gravatar_id":"","url":"https://api.github.com/users/gajus","html_url":"https://github.com/gajus","followers_url":"https://api.github.com/users/gajus/followers","following_url":"https://api.github.com/users/gajus/following{/other_user}","gists_url":"https://api.github.com/users/gajus/gists{/gist_id}","starred_url":"https://api.github.com/users/gajus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gajus/subscriptions","organizations_url":"https://api.github.com/users/gajus/orgs","repos_url":"https://api.github.com/users/gajus/repos","events_url":"https://api.github.com/users/gajus/events{/privacy}","received_events_url":"https://api.github.com/users/gajus/received_events","type":"User","site_admin":false},"repo":{"id":142793189,"node_id":"MDEwOlJlcG9zaXRvcnkxNDI3OTMxODk=","name":"node-postgres","full_name":"gajus/node-postgres","owner":{"login":"gajus","id":973543,"node_id":"MDQ6VXNlcjk3MzU0Mw==","avatar_url":"https://avatars2.githubusercontent.com/u/973543?v=4","gravatar_id":"","url":"https://api.github.com/users/gajus","html_url":"https://github.com/gajus","followers_url":"https://api.github.com/users/gajus/followers","following_url":"https://api.github.com/users/gajus/following{/other_user}","gists_url":"https://api.github.com/users/gajus/gists{/gist_id}","starred_url":"https://api.github.com/users/gajus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gajus/subscriptions","organizations_url":"https://api.github.com/users/gajus/orgs","repos_url":"https://api.github.com/users/gajus/repos","events_url":"https://api.github.com/users/gajus/events{/privacy}","received_events_url":"https://api.github.com/users/gajus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gajus/node-postgres","description":"PostgreSQL client for node.js.","fork":true,"url":"https://api.github.com/repos/gajus/node-postgres","forks_url":"https://api.github.com/repos/gajus/node-postgres/forks","keys_url":"https://api.github.com/repos/gajus/node-postgres/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gajus/node-postgres/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gajus/node-postgres/teams","hooks_url":"https://api.github.com/repos/gajus/node-postgres/hooks","issue_events_url":"https://api.github.com/repos/gajus/node-postgres/issues/events{/number}","events_url":"https://api.github.com/repos/gajus/node-postgres/events","assignees_url":"https://api.github.com/repos/gajus/node-postgres/assignees{/user}","branches_url":"https://api.github.com/repos/gajus/node-postgres/branches{/branch}","tags_url":"https://api.github.com/repos/gajus/node-postgres/tags","blobs_url":"https://api.github.com/repos/gajus/node-postgres/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gajus/node-postgres/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gajus/node-postgres/git/refs{/sha}","trees_url":"https://api.github.com/repos/gajus/node-postgres/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gajus/node-postgres/statuses/{sha}","languages_url":"https://api.github.com/repos/gajus/node-postgres/languages","stargazers_url":"https://api.github.com/repos/gajus/node-postgres/stargazers","contributors_url":"https://api.github.com/repos/gajus/node-postgres/contributors","subscribers_url":"https://api.github.com/repos/gajus/node-postgres/subscribers","subscription_url":"https://api.github.com/repos/gajus/node-postgres/subscription","commits_url":"https://api.github.com/repos/gajus/node-postgres/commits{/sha}","git_commits_url":"https://api.github.com/repos/gajus/node-postgres/git/commits{/sha}","comments_url":"https://api.github.com/repos/gajus/node-postgres/comments{/number}","issue_comment_url":"https://api.github.com/repos/gajus/node-postgres/issues/comments{/number}","contents_url":"https://api.github.com/repos/gajus/node-postgres/contents/{+path}","compare_url":"https://api.github.com/repos/gajus/node-postgres/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gajus/node-postgres/merges","archive_url":"https://api.github.com/repos/gajus/node-postgres/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gajus/node-postgres/downloads","issues_url":"https://api.github.com/repos/gajus/node-postgres/issues{/number}","pulls_url":"https://api.github.com/repos/gajus/node-postgres/pulls{/number}","milestones_url":"https://api.github.com/repos/gajus/node-postgres/milestones{/number}","notifications_url":"https://api.github.com/repos/gajus/node-postgres/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gajus/node-postgres/labels{/name}","releases_url":"https://api.github.com/repos/gajus/node-postgres/releases{/id}","deployments_url":"https://api.github.com/repos/gajus/node-postgres/deployments","created_at":"2018-07-29T20:28:00Z","updated_at":"2018-07-29T20:28:03Z","pushed_at":"2018-07-29T20:29:38Z","git_url":"git://github.com/gajus/node-postgres.git","ssh_url":"git@github.com:gajus/node-postgres.git","clone_url":"https://github.com/gajus/node-postgres.git","svn_url":"https://github.com/gajus/node-postgres","homepage":"https://node-postgres.com","size":2033,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"brianc:master","ref":"master","sha":"6c840aabb09f8a2d640800953f6b884b6841384c","user":{"login":"brianc","id":50081,"node_id":"MDQ6VXNlcjUwMDgx","avatar_url":"https://avatars0.githubusercontent.com/u/50081?v=4","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},"repo":{"id":991475,"node_id":"MDEwOlJlcG9zaXRvcnk5OTE0NzU=","name":"node-postgres","full_name":"brianc/node-postgres","owner":{"login":"brianc","id":50081,"node_id":"MDQ6VXNlcjUwMDgx","avatar_url":"https://avatars0.githubusercontent.com/u/50081?v=4","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},"private":false,"html_url":"https://github.com/brianc/node-postgres","description":"PostgreSQL client for node.js.","fork":false,"url":"https://api.github.com/repos/brianc/node-postgres","forks_url":"https://api.github.com/repos/brianc/node-postgres/forks","keys_url":"https://api.github.com/repos/brianc/node-postgres/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brianc/node-postgres/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brianc/node-postgres/teams","hooks_url":"https://api.github.com/repos/brianc/node-postgres/hooks","issue_events_url":"https://api.github.com/repos/brianc/node-postgres/issues/events{/number}","events_url":"https://api.github.com/repos/brianc/node-postgres/events","assignees_url":"https://api.github.com/repos/brianc/node-postgres/assignees{/user}","branches_url":"https://api.github.com/repos/brianc/node-postgres/branches{/branch}","tags_url":"https://api.github.com/repos/brianc/node-postgres/tags","blobs_url":"https://api.github.com/repos/brianc/node-postgres/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brianc/node-postgres/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brianc/node-postgres/git/refs{/sha}","trees_url":"https://api.github.com/repos/brianc/node-postgres/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brianc/node-postgres/statuses/{sha}","languages_url":"https://api.github.com/repos/brianc/node-postgres/languages","stargazers_url":"https://api.github.com/repos/brianc/node-postgres/stargazers","contributors_url":"https://api.github.com/repos/brianc/node-postgres/contributors","subscribers_url":"https://api.github.com/repos/brianc/node-postgres/subscribers","subscription_url":"https://api.github.com/repos/brianc/node-postgres/subscription","commits_url":"https://api.github.com/repos/brianc/node-postgres/commits{/sha}","git_commits_url":"https://api.github.com/repos/brianc/node-postgres/git/commits{/sha}","comments_url":"https://api.github.com/repos/brianc/node-postgres/comments{/number}","issue_comment_url":"https://api.github.com/repos/brianc/node-postgres/issues/comments{/number}","contents_url":"https://api.github.com/repos/brianc/node-postgres/contents/{+path}","compare_url":"https://api.github.com/repos/brianc/node-postgres/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brianc/node-postgres/merges","archive_url":"https://api.github.com/repos/brianc/node-postgres/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brianc/node-postgres/downloads","issues_url":"https://api.github.com/repos/brianc/node-postgres/issues{/number}","pulls_url":"https://api.github.com/repos/brianc/node-postgres/pulls{/number}","milestones_url":"https://api.github.com/repos/brianc/node-postgres/milestones{/number}","notifications_url":"https://api.github.com/repos/brianc/node-postgres/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brianc/node-postgres/labels{/name}","releases_url":"https://api.github.com/repos/brianc/node-postgres/releases{/id}","deployments_url":"https://api.github.com/repos/brianc/node-postgres/deployments","created_at":"2010-10-15T23:05:50Z","updated_at":"2018-07-29T22:16:29Z","pushed_at":"2018-07-30T02:46:23Z","git_url":"git://github.com/brianc/node-postgres.git","ssh_url":"git@github.com:brianc/node-postgres.git","clone_url":"https://github.com/brianc/node-postgres.git","svn_url":"https://github.com/brianc/node-postgres","homepage":"https://node-postgres.com","size":2033,"stargazers_count":6352,"watchers_count":6352,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":769,"mirror_url":null,"archived":false,"open_issues_count":130,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":769,"open_issues":130,"watchers":6352,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/brianc/node-postgres/pulls/1701"},"html":{"href":"https://github.com/brianc/node-postgres/pull/1701"},"issue":{"href":"https://api.github.com/repos/brianc/node-postgres/issues/1701"},"comments":{"href":"https://api.github.com/repos/brianc/node-postgres/issues/1701/comments"},"review_comments":{"href":"https://api.github.com/repos/brianc/node-postgres/pulls/1701/comments"},"review_comment":{"href":"https://api.github.com/repos/brianc/node-postgres/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/brianc/node-postgres/pulls/1701/commits"},"statuses":{"href":"https://api.github.com/repos/brianc/node-postgres/statuses/00d749cdfa62c483a2327d68f57eac1ebdbe10c4"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"charmander","id":1889843,"node_id":"MDQ6VXNlcjE4ODk4NDM=","avatar_url":"https://avatars1.githubusercontent.com/u/1889843?v=4","gravatar_id":"","url":"https://api.github.com/users/charmander","html_url":"https://github.com/charmander","followers_url":"https://api.github.com/users/charmander/followers","following_url":"https://api.github.com/users/charmander/following{/other_user}","gists_url":"https://api.github.com/users/charmander/gists{/gist_id}","starred_url":"https://api.github.com/users/charmander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charmander/subscriptions","organizations_url":"https://api.github.com/users/charmander/orgs","repos_url":"https://api.github.com/users/charmander/repos","events_url":"https://api.github.com/users/charmander/events{/privacy}","received_events_url":"https://api.github.com/users/charmander/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":1,"deletions":14,"changed_files":1}}
{"actor":{"display_login":"charmander"}}