{"action":"opened","number":14,"pull_request":{"url":"https://api.github.com/repos/michaelpq/pg_plugins/pulls/14","id":77465390,"html_url":"https://github.com/michaelpq/pg_plugins/pull/14","diff_url":"https://github.com/michaelpq/pg_plugins/pull/14.diff","patch_url":"https://github.com/michaelpq/pg_plugins/pull/14.patch","issue_url":"https://api.github.com/repos/michaelpq/pg_plugins/issues/14","number":14,"state":"open","locked":false,"title":"Unchangedtoast","user":{"login":"mhagander","id":174657,"avatar_url":"https://avatars.githubusercontent.com/u/174657?v=3","gravatar_id":"","url":"https://api.github.com/users/mhagander","html_url":"https://github.com/mhagander","followers_url":"https://api.github.com/users/mhagander/followers","following_url":"https://api.github.com/users/mhagander/following{/other_user}","gists_url":"https://api.github.com/users/mhagander/gists{/gist_id}","starred_url":"https://api.github.com/users/mhagander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhagander/subscriptions","organizations_url":"https://api.github.com/users/mhagander/orgs","repos_url":"https://api.github.com/users/mhagander/repos","events_url":"https://api.github.com/users/mhagander/events{/privacy}","received_events_url":"https://api.github.com/users/mhagander/received_events","type":"User","site_admin":false},"body":"I think this fixes the issue with unchanged toast datums, where decoder_raw previously generated invalid SQL.\r\n\r\nAFAICS these can only occur in UPDATEs (otherwise they are new). And if they are unchanged, we can just skip them in the updates.\r\n\r\nI'm not entirely certain there might not be other cases where there is an issue though, so I'd appreciate a review :)\r\n\r\nAnd this time I even included regression tests.","created_at":"2016-07-14T14:27:40Z","updated_at":"2016-07-14T14:27:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/michaelpq/pg_plugins/pulls/14/commits","review_comments_url":"https://api.github.com/repos/michaelpq/pg_plugins/pulls/14/comments","review_comment_url":"https://api.github.com/repos/michaelpq/pg_plugins/pulls/comments{/number}","comments_url":"https://api.github.com/repos/michaelpq/pg_plugins/issues/14/comments","statuses_url":"https://api.github.com/repos/michaelpq/pg_plugins/statuses/f998af068a43ac663ee70f5d1bad59b1516c4ae1","head":{"label":"mhagander:unchangedtoast","ref":"unchangedtoast","sha":"f998af068a43ac663ee70f5d1bad59b1516c4ae1","user":{"login":"mhagander","id":174657,"avatar_url":"https://avatars.githubusercontent.com/u/174657?v=3","gravatar_id":"","url":"https://api.github.com/users/mhagander","html_url":"https://github.com/mhagander","followers_url":"https://api.github.com/users/mhagander/followers","following_url":"https://api.github.com/users/mhagander/following{/other_user}","gists_url":"https://api.github.com/users/mhagander/gists{/gist_id}","starred_url":"https://api.github.com/users/mhagander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhagander/subscriptions","organizations_url":"https://api.github.com/users/mhagander/orgs","repos_url":"https://api.github.com/users/mhagander/repos","events_url":"https://api.github.com/users/mhagander/events{/privacy}","received_events_url":"https://api.github.com/users/mhagander/received_events","type":"User","site_admin":false},"repo":{"id":63330227,"name":"pg_plugins","full_name":"mhagander/pg_plugins","owner":{"login":"mhagander","id":174657,"avatar_url":"https://avatars.githubusercontent.com/u/174657?v=3","gravatar_id":"","url":"https://api.github.com/users/mhagander","html_url":"https://github.com/mhagander","followers_url":"https://api.github.com/users/mhagander/followers","following_url":"https://api.github.com/users/mhagander/following{/other_user}","gists_url":"https://api.github.com/users/mhagander/gists{/gist_id}","starred_url":"https://api.github.com/users/mhagander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhagander/subscriptions","organizations_url":"https://api.github.com/users/mhagander/orgs","repos_url":"https://api.github.com/users/mhagander/repos","events_url":"https://api.github.com/users/mhagander/events{/privacy}","received_events_url":"https://api.github.com/users/mhagander/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mhagander/pg_plugins","description":"Gathering of template plugins for PostgreSQL: background workers, logical replication things, etc.","fork":true,"url":"https://api.github.com/repos/mhagander/pg_plugins","forks_url":"https://api.github.com/repos/mhagander/pg_plugins/forks","keys_url":"https://api.github.com/repos/mhagander/pg_plugins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mhagander/pg_plugins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mhagander/pg_plugins/teams","hooks_url":"https://api.github.com/repos/mhagander/pg_plugins/hooks","issue_events_url":"https://api.github.com/repos/mhagander/pg_plugins/issues/events{/number}","events_url":"https://api.github.com/repos/mhagander/pg_plugins/events","assignees_url":"https://api.github.com/repos/mhagander/pg_plugins/assignees{/user}","branches_url":"https://api.github.com/repos/mhagander/pg_plugins/branches{/branch}","tags_url":"https://api.github.com/repos/mhagander/pg_plugins/tags","blobs_url":"https://api.github.com/repos/mhagander/pg_plugins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mhagander/pg_plugins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mhagander/pg_plugins/git/refs{/sha}","trees_url":"https://api.github.com/repos/mhagander/pg_plugins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mhagander/pg_plugins/statuses/{sha}","languages_url":"https://api.github.com/repos/mhagander/pg_plugins/languages","stargazers_url":"https://api.github.com/repos/mhagander/pg_plugins/stargazers","contributors_url":"https://api.github.com/repos/mhagander/pg_plugins/contributors","subscribers_url":"https://api.github.com/repos/mhagander/pg_plugins/subscribers","subscription_url":"https://api.github.com/repos/mhagander/pg_plugins/subscription","commits_url":"https://api.github.com/repos/mhagander/pg_plugins/commits{/sha}","git_commits_url":"https://api.github.com/repos/mhagander/pg_plugins/git/commits{/sha}","comments_url":"https://api.github.com/repos/mhagander/pg_plugins/comments{/number}","issue_comment_url":"https://api.github.com/repos/mhagander/pg_plugins/issues/comments{/number}","contents_url":"https://api.github.com/repos/mhagander/pg_plugins/contents/{+path}","compare_url":"https://api.github.com/repos/mhagander/pg_plugins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mhagander/pg_plugins/merges","archive_url":"https://api.github.com/repos/mhagander/pg_plugins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mhagander/pg_plugins/downloads","issues_url":"https://api.github.com/repos/mhagander/pg_plugins/issues{/number}","pulls_url":"https://api.github.com/repos/mhagander/pg_plugins/pulls{/number}","milestones_url":"https://api.github.com/repos/mhagander/pg_plugins/milestones{/number}","notifications_url":"https://api.github.com/repos/mhagander/pg_plugins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mhagander/pg_plugins/labels{/name}","releases_url":"https://api.github.com/repos/mhagander/pg_plugins/releases{/id}","deployments_url":"https://api.github.com/repos/mhagander/pg_plugins/deployments","created_at":"2016-07-14T11:14:57Z","updated_at":"2016-07-14T11:14:58Z","pushed_at":"2016-07-14T14:24:33Z","git_url":"git://github.com/mhagander/pg_plugins.git","ssh_url":"git@github.com:mhagander/pg_plugins.git","clone_url":"https://github.com/mhagander/pg_plugins.git","svn_url":"https://github.com/mhagander/pg_plugins","homepage":"","size":173,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"michaelpq:master","ref":"master","sha":"b9c100b03039f51c70e36830610b32c33661c193","user":{"login":"michaelpq","id":985332,"avatar_url":"https://avatars.githubusercontent.com/u/985332?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelpq","html_url":"https://github.com/michaelpq","followers_url":"https://api.github.com/users/michaelpq/followers","following_url":"https://api.github.com/users/michaelpq/following{/other_user}","gists_url":"https://api.github.com/users/michaelpq/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelpq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelpq/subscriptions","organizations_url":"https://api.github.com/users/michaelpq/orgs","repos_url":"https://api.github.com/users/michaelpq/repos","events_url":"https://api.github.com/users/michaelpq/events{/privacy}","received_events_url":"https://api.github.com/users/michaelpq/received_events","type":"User","site_admin":false},"repo":{"id":9022899,"name":"pg_plugins","full_name":"michaelpq/pg_plugins","owner":{"login":"michaelpq","id":985332,"avatar_url":"https://avatars.githubusercontent.com/u/985332?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelpq","html_url":"https://github.com/michaelpq","followers_url":"https://api.github.com/users/michaelpq/followers","following_url":"https://api.github.com/users/michaelpq/following{/other_user}","gists_url":"https://api.github.com/users/michaelpq/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelpq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelpq/subscriptions","organizations_url":"https://api.github.com/users/michaelpq/orgs","repos_url":"https://api.github.com/users/michaelpq/repos","events_url":"https://api.github.com/users/michaelpq/events{/privacy}","received_events_url":"https://api.github.com/users/michaelpq/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/michaelpq/pg_plugins","description":"Gathering of template plugins for PostgreSQL: background workers, logical replication things, etc.","fork":false,"url":"https://api.github.com/repos/michaelpq/pg_plugins","forks_url":"https://api.github.com/repos/michaelpq/pg_plugins/forks","keys_url":"https://api.github.com/repos/michaelpq/pg_plugins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/michaelpq/pg_plugins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/michaelpq/pg_plugins/teams","hooks_url":"https://api.github.com/repos/michaelpq/pg_plugins/hooks","issue_events_url":"https://api.github.com/repos/michaelpq/pg_plugins/issues/events{/number}","events_url":"https://api.github.com/repos/michaelpq/pg_plugins/events","assignees_url":"https://api.github.com/repos/michaelpq/pg_plugins/assignees{/user}","branches_url":"https://api.github.com/repos/michaelpq/pg_plugins/branches{/branch}","tags_url":"https://api.github.com/repos/michaelpq/pg_plugins/tags","blobs_url":"https://api.github.com/repos/michaelpq/pg_plugins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/michaelpq/pg_plugins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/michaelpq/pg_plugins/git/refs{/sha}","trees_url":"https://api.github.com/repos/michaelpq/pg_plugins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/michaelpq/pg_plugins/statuses/{sha}","languages_url":"https://api.github.com/repos/michaelpq/pg_plugins/languages","stargazers_url":"https://api.github.com/repos/michaelpq/pg_plugins/stargazers","contributors_url":"https://api.github.com/repos/michaelpq/pg_plugins/contributors","subscribers_url":"https://api.github.com/repos/michaelpq/pg_plugins/subscribers","subscription_url":"https://api.github.com/repos/michaelpq/pg_plugins/subscription","commits_url":"https://api.github.com/repos/michaelpq/pg_plugins/commits{/sha}","git_commits_url":"https://api.github.com/repos/michaelpq/pg_plugins/git/commits{/sha}","comments_url":"https://api.github.com/repos/michaelpq/pg_plugins/comments{/number}","issue_comment_url":"https://api.github.com/repos/michaelpq/pg_plugins/issues/comments{/number}","contents_url":"https://api.github.com/repos/michaelpq/pg_plugins/contents/{+path}","compare_url":"https://api.github.com/repos/michaelpq/pg_plugins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/michaelpq/pg_plugins/merges","archive_url":"https://api.github.com/repos/michaelpq/pg_plugins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/michaelpq/pg_plugins/downloads","issues_url":"https://api.github.com/repos/michaelpq/pg_plugins/issues{/number}","pulls_url":"https://api.github.com/repos/michaelpq/pg_plugins/pulls{/number}","milestones_url":"https://api.github.com/repos/michaelpq/pg_plugins/milestones{/number}","notifications_url":"https://api.github.com/repos/michaelpq/pg_plugins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/michaelpq/pg_plugins/labels{/name}","releases_url":"https://api.github.com/repos/michaelpq/pg_plugins/releases{/id}","deployments_url":"https://api.github.com/repos/michaelpq/pg_plugins/deployments","created_at":"2013-03-26T04:32:44Z","updated_at":"2016-07-05T03:59:10Z","pushed_at":"2016-07-14T14:27:40Z","git_url":"git://github.com/michaelpq/pg_plugins.git","ssh_url":"git@github.com:michaelpq/pg_plugins.git","clone_url":"https://github.com/michaelpq/pg_plugins.git","svn_url":"https://github.com/michaelpq/pg_plugins","homepage":"","size":183,"stargazers_count":100,"watchers_count":100,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":1,"forks":15,"open_issues":1,"watchers":100,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/michaelpq/pg_plugins/pulls/14"},"html":{"href":"https://github.com/michaelpq/pg_plugins/pull/14"},"issue":{"href":"https://api.github.com/repos/michaelpq/pg_plugins/issues/14"},"comments":{"href":"https://api.github.com/repos/michaelpq/pg_plugins/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/michaelpq/pg_plugins/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/michaelpq/pg_plugins/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/michaelpq/pg_plugins/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/michaelpq/pg_plugins/statuses/f998af068a43ac663ee70f5d1bad59b1516c4ae1"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":42,"deletions":4,"changed_files":3}}
{"actor":{"display_login":"mhagander"}}