{"action":"created","issue":{"url":"https://api.github.com/repos/rstudio/rstudio/issues/2725","repository_url":"https://api.github.com/repos/rstudio/rstudio","labels_url":"https://api.github.com/repos/rstudio/rstudio/issues/2725/labels{/name}","comments_url":"https://api.github.com/repos/rstudio/rstudio/issues/2725/comments","events_url":"https://api.github.com/repos/rstudio/rstudio/issues/2725/events","html_url":"https://github.com/rstudio/rstudio/pull/2725","id":319274650,"number":2725,"title":"Support multiple statements in SQL preview","user":{"login":"javierluraschi","id":3478847,"avatar_url":"https://avatars1.githubusercontent.com/u/3478847?v=4","gravatar_id":"","url":"https://api.github.com/users/javierluraschi","html_url":"https://github.com/javierluraschi","followers_url":"https://api.github.com/users/javierluraschi/followers","following_url":"https://api.github.com/users/javierluraschi/following{/other_user}","gists_url":"https://api.github.com/users/javierluraschi/gists{/gist_id}","starred_url":"https://api.github.com/users/javierluraschi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javierluraschi/subscriptions","organizations_url":"https://api.github.com/users/javierluraschi/orgs","repos_url":"https://api.github.com/users/javierluraschi/repos","events_url":"https://api.github.com/users/javierluraschi/events{/privacy}","received_events_url":"https://api.github.com/users/javierluraschi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-01T18:01:20Z","updated_at":"2018-05-01T20:18:06Z","closed_at":"2018-05-01T20:18:06Z","author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/rstudio/rstudio/pulls/2725","html_url":"https://github.com/rstudio/rstudio/pull/2725","diff_url":"https://github.com/rstudio/rstudio/pull/2725.diff","patch_url":"https://github.com/rstudio/rstudio/pull/2725.patch"},"body":"Dependent on https://github.com/rstudio/rstudio/pull/2720 to consider this independently.\r\n\r\nDBI does not support executing multiple statements, see https://github.com/r-dbi/RPostgres/issues/138, but we can consider splitting them ourselves to enable more useful SQL script and modify also the default script that is created:\r\n\r\n<img width=\"506\" alt=\"screen shot 2018-05-01 at 10 57 28 am\" src=\"https://user-images.githubusercontent.com/3478847/39485823-dea82e58-4d2e-11e8-9232-1f1b0c4f14c1.png\">\r\n"},"comment":{"url":"https://api.github.com/repos/rstudio/rstudio/issues/comments/385777496","html_url":"https://github.com/rstudio/rstudio/pull/2725#issuecomment-385777496","issue_url":"https://api.github.com/repos/rstudio/rstudio/issues/2725","id":385777496,"user":{"login":"javierluraschi","id":3478847,"avatar_url":"https://avatars1.githubusercontent.com/u/3478847?v=4","gravatar_id":"","url":"https://api.github.com/users/javierluraschi","html_url":"https://github.com/javierluraschi","followers_url":"https://api.github.com/users/javierluraschi/followers","following_url":"https://api.github.com/users/javierluraschi/following{/other_user}","gists_url":"https://api.github.com/users/javierluraschi/gists{/gist_id}","starred_url":"https://api.github.com/users/javierluraschi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javierluraschi/subscriptions","organizations_url":"https://api.github.com/users/javierluraschi/orgs","repos_url":"https://api.github.com/users/javierluraschi/repos","events_url":"https://api.github.com/users/javierluraschi/events{/privacy}","received_events_url":"https://api.github.com/users/javierluraschi/received_events","type":"User","site_admin":false},"created_at":"2018-05-01T20:18:06Z","updated_at":"2018-05-01T20:18:06Z","author_association":"MEMBER","body":"This PR would also have to handle multiple parameters per statement, etc. Closing."}}
{"actor":{"display_login":"javierluraschi"}}