{"action":"created","issue":{"url":"https://api.github.com/repos/brianc/node-postgres/issues/994","repository_url":"https://api.github.com/repos/brianc/node-postgres","labels_url":"https://api.github.com/repos/brianc/node-postgres/issues/994/labels{/name}","comments_url":"https://api.github.com/repos/brianc/node-postgres/issues/994/comments","events_url":"https://api.github.com/repos/brianc/node-postgres/issues/994/events","html_url":"https://github.com/brianc/node-postgres/issues/994","id":148823151,"number":994,"title":"How to display real executed SQL on error?","user":{"login":"elfet","id":141232,"avatar_url":"https://avatars.githubusercontent.com/u/141232?v=3","gravatar_id":"","url":"https://api.github.com/users/elfet","html_url":"https://github.com/elfet","followers_url":"https://api.github.com/users/elfet/followers","following_url":"https://api.github.com/users/elfet/following{/other_user}","gists_url":"https://api.github.com/users/elfet/gists{/gist_id}","starred_url":"https://api.github.com/users/elfet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elfet/subscriptions","organizations_url":"https://api.github.com/users/elfet/orgs","repos_url":"https://api.github.com/users/elfet/repos","events_url":"https://api.github.com/users/elfet/events{/privacy}","received_events_url":"https://api.github.com/users/elfet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-04-16T06:32:32Z","updated_at":"2016-04-16T13:14:19Z","closed_at":null,"body":"Hi,\r\n\r\nHow to display real executed SQL on error? Not just `error: invalid input syntax for type json`, but full executed query with inserted params in it.\r\n\r\nIs it possible?\r\n"},"comment":{"url":"https://api.github.com/repos/brianc/node-postgres/issues/comments/210813488","html_url":"https://github.com/brianc/node-postgres/issues/994#issuecomment-210813488","issue_url":"https://api.github.com/repos/brianc/node-postgres/issues/994","id":210813488,"user":{"login":"vitaly-t","id":5108906,"avatar_url":"https://avatars.githubusercontent.com/u/5108906?v=3","gravatar_id":"","url":"https://api.github.com/users/vitaly-t","html_url":"https://github.com/vitaly-t","followers_url":"https://api.github.com/users/vitaly-t/followers","following_url":"https://api.github.com/users/vitaly-t/following{/other_user}","gists_url":"https://api.github.com/users/vitaly-t/gists{/gist_id}","starred_url":"https://api.github.com/users/vitaly-t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitaly-t/subscriptions","organizations_url":"https://api.github.com/users/vitaly-t/orgs","repos_url":"https://api.github.com/users/vitaly-t/repos","events_url":"https://api.github.com/users/vitaly-t/events{/privacy}","received_events_url":"https://api.github.com/users/vitaly-t/received_events","type":"User","site_admin":false},"created_at":"2016-04-16T13:14:19Z","updated_at":"2016-04-16T13:14:19Z","body":"@elfet yes, correct. This library doesn't keep the query information when an error occurs.\r\n"}}