{"action":"created","issue":{"url":"https://api.github.com/repos/drush-ops/drush/issues/1376","labels_url":"https://api.github.com/repos/drush-ops/drush/issues/1376/labels{/name}","comments_url":"https://api.github.com/repos/drush-ops/drush/issues/1376/comments","events_url":"https://api.github.com/repos/drush-ops/drush/issues/1376/events","html_url":"https://github.com/drush-ops/drush/issues/1376","id":75398355,"number":1376,"title":"sql-drop does not work on PGSQL","user":{"login":"tstoeckler","id":3929504,"avatar_url":"https://avatars.githubusercontent.com/u/3929504?v=3","gravatar_id":"","url":"https://api.github.com/users/tstoeckler","html_url":"https://github.com/tstoeckler","followers_url":"https://api.github.com/users/tstoeckler/followers","following_url":"https://api.github.com/users/tstoeckler/following{/other_user}","gists_url":"https://api.github.com/users/tstoeckler/gists{/gist_id}","starred_url":"https://api.github.com/users/tstoeckler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tstoeckler/subscriptions","organizations_url":"https://api.github.com/users/tstoeckler/orgs","repos_url":"https://api.github.com/users/tstoeckler/repos","events_url":"https://api.github.com/users/tstoeckler/events{/privacy}","received_events_url":"https://api.github.com/users/tstoeckler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-05-11T23:52:31Z","updated_at":"2015-08-28T14:13:22Z","closed_at":null,"body":"`Sqlpgsql::listTables()` contains some code to remove the first line of output the query returns. However, the output starts with the list of tables directly. Thus, removing the first line, leads to a table being left in the database, which then lets a subsequent `site-install` fail.\r\n\r\nI don't know why that line was introduced originally or if there are version differences, etc. but removing that line definitely fixes the issue for me."},"comment":{"url":"https://api.github.com/repos/drush-ops/drush/issues/comments/135784316","html_url":"https://github.com/drush-ops/drush/issues/1376#issuecomment-135784316","issue_url":"https://api.github.com/repos/drush-ops/drush/issues/1376","id":135784316,"user":{"login":"dmromanov","id":299059,"avatar_url":"https://avatars.githubusercontent.com/u/299059?v=3","gravatar_id":"","url":"https://api.github.com/users/dmromanov","html_url":"https://github.com/dmromanov","followers_url":"https://api.github.com/users/dmromanov/followers","following_url":"https://api.github.com/users/dmromanov/following{/other_user}","gists_url":"https://api.github.com/users/dmromanov/gists{/gist_id}","starred_url":"https://api.github.com/users/dmromanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmromanov/subscriptions","organizations_url":"https://api.github.com/users/dmromanov/orgs","repos_url":"https://api.github.com/users/dmromanov/repos","events_url":"https://api.github.com/users/dmromanov/events{/privacy}","received_events_url":"https://api.github.com/users/dmromanov/received_events","type":"User","site_admin":false},"created_at":"2015-08-28T14:13:22Z","updated_at":"2015-08-28T14:13:22Z","body":"@tstoeckler Thank you."}}