{"action":"created","issue":{"url":"https://api.github.com/repos/trustly/plpgsql2/issues/7","repository_url":"https://api.github.com/repos/trustly/plpgsql2","labels_url":"https://api.github.com/repos/trustly/plpgsql2/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/trustly/plpgsql2/issues/7/comments","events_url":"https://api.github.com/repos/trustly/plpgsql2/issues/7/events","html_url":"https://github.com/trustly/plpgsql2/issues/7","id":130769690,"number":7,"title":"Add special ROW_COUNT variable","user":{"login":"johto","id":951744,"avatar_url":"https://avatars.githubusercontent.com/u/951744?v=3","gravatar_id":"","url":"https://api.github.com/users/johto","html_url":"https://github.com/johto","followers_url":"https://api.github.com/users/johto/followers","following_url":"https://api.github.com/users/johto/following{/other_user}","gists_url":"https://api.github.com/users/johto/gists{/gist_id}","starred_url":"https://api.github.com/users/johto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johto/subscriptions","organizations_url":"https://api.github.com/users/johto/orgs","repos_url":"https://api.github.com/users/johto/repos","events_url":"https://api.github.com/users/johto/events{/privacy}","received_events_url":"https://api.github.com/users/johto/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/trustly/plpgsql2/labels/unsure","name":"unsure","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-02T18:19:29Z","updated_at":"2016-02-02T19:46:02Z","closed_at":null,"body":"It seems silly to run the bloody `GET DIAGNOSTICS` crap if you want to look at the row count.  I think we should just add a `ROW_COUNT` variable which is always automatically set after certain commands, not unlike `FOUND`."},"comment":{"url":"https://api.github.com/repos/trustly/plpgsql2/issues/comments/178783183","html_url":"https://github.com/trustly/plpgsql2/issues/7#issuecomment-178783183","issue_url":"https://api.github.com/repos/trustly/plpgsql2/issues/7","id":178783183,"user":{"login":"joelonsql","id":1784776,"avatar_url":"https://avatars.githubusercontent.com/u/1784776?v=3","gravatar_id":"","url":"https://api.github.com/users/joelonsql","html_url":"https://github.com/joelonsql","followers_url":"https://api.github.com/users/joelonsql/followers","following_url":"https://api.github.com/users/joelonsql/following{/other_user}","gists_url":"https://api.github.com/users/joelonsql/gists{/gist_id}","starred_url":"https://api.github.com/users/joelonsql/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelonsql/subscriptions","organizations_url":"https://api.github.com/users/joelonsql/orgs","repos_url":"https://api.github.com/users/joelonsql/repos","events_url":"https://api.github.com/users/joelonsql/events{/privacy}","received_events_url":"https://api.github.com/users/joelonsql/received_events","type":"User","site_admin":false},"created_at":"2016-02-02T19:46:02Z","updated_at":"2016-02-02T19:46:02Z","body":"Good idea\n\nOn Tuesday, February 2, 2016, Marko Tiikkaja <notifications@github.com>\nwrote:\n\n> It seems silly to run the bloody GET DIAGNOSTICS crap if you want to look\n> at the row count. I think we should just add a ROW_COUNT variable which\n> is always automatically set after certain commands, not unlike FOUND.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/trustly/plpgsql2/issues/7>.\n>\n\n\n-- \nJoel Jacobson\n\nMobile: +46703603801\n*Trustly.com <http://trustly.com/> | Newsroom\n<http://www.mynewsdesk.com/trustly_en> | LinkedIn\n<https://www.linkedin.com/company/trustly-group-ab> | **Twitter\n<https://twitter.com/Trustly>*\n\n\n* <https://trustly.com/>*\n"}}