{"action":"closed","issue":{"url":"https://api.github.com/repos/vitaly-t/pg-promise/issues/154","repository_url":"https://api.github.com/repos/vitaly-t/pg-promise","labels_url":"https://api.github.com/repos/vitaly-t/pg-promise/issues/154/labels{/name}","comments_url":"https://api.github.com/repos/vitaly-t/pg-promise/issues/154/comments","events_url":"https://api.github.com/repos/vitaly-t/pg-promise/issues/154/events","html_url":"https://github.com/vitaly-t/pg-promise/issues/154","id":158562626,"number":154,"title":"How to set intervalStyle globally?","user":{"login":"nareshbhatia","id":1220198,"avatar_url":"https://avatars.githubusercontent.com/u/1220198?v=3","gravatar_id":"","url":"https://api.github.com/users/nareshbhatia","html_url":"https://github.com/nareshbhatia","followers_url":"https://api.github.com/users/nareshbhatia/followers","following_url":"https://api.github.com/users/nareshbhatia/following{/other_user}","gists_url":"https://api.github.com/users/nareshbhatia/gists{/gist_id}","starred_url":"https://api.github.com/users/nareshbhatia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nareshbhatia/subscriptions","organizations_url":"https://api.github.com/users/nareshbhatia/orgs","repos_url":"https://api.github.com/users/nareshbhatia/repos","events_url":"https://api.github.com/users/nareshbhatia/events{/privacy}","received_events_url":"https://api.github.com/users/nareshbhatia/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/vitaly-t/pg-promise/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":25,"created_at":"2016-06-05T16:35:16Z","updated_at":"2016-06-06T01:40:58Z","closed_at":"2016-06-06T01:40:58Z","body":"I would like to tell Postgres to return intervals as ISO 8601 strings always and on all connections. To do this I must set `intervalStyle` as follows:\r\n\r\n    SET intervalStyle = iso_8601\r\n\r\nWhat's the best way to do this? I tried `db.none('SET intervalStyle = iso_8601');` but that's not working. I suspect it is setting the value on only one connection."}}
{"actor":{"display_login":"nareshbhatia"}}