{"action":"created","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/9486","repository_url":"https://api.github.com/repos/joomla/joomla-cms","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/9486/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/9486/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/9486/events","html_url":"https://github.com/joomla/joomla-cms/issues/9486","id":142079035,"number":9486,"title":"Multilingual status module postgres error","user":{"login":"brianteeman","id":1296369,"avatar_url":"https://avatars.githubusercontent.com/u/1296369?v=3","gravatar_id":"","url":"https://api.github.com/users/brianteeman","html_url":"https://github.com/brianteeman","followers_url":"https://api.github.com/users/brianteeman/followers","following_url":"https://api.github.com/users/brianteeman/following{/other_user}","gists_url":"https://api.github.com/users/brianteeman/gists{/gist_id}","starred_url":"https://api.github.com/users/brianteeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianteeman/subscriptions","organizations_url":"https://api.github.com/users/brianteeman/orgs","repos_url":"https://api.github.com/users/brianteeman/repos","events_url":"https://api.github.com/users/brianteeman/events{/privacy}","received_events_url":"https://api.github.com/users/brianteeman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/joomla/joomla-cms/labels/No%20Code%20Attached%20Yet","name":"No Code Attached Yet","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-03-19T16:28:35Z","updated_at":"2016-03-20T09:45:11Z","closed_at":"2016-03-19T17:11:26Z","body":"Opening this module under postgres produces\r\n\r\n>  0 ERROR: function max(boolean) does not exist LINE 1: SELECT u.name, count(cd.language) as counted, MAX(cd.languag... ^ HINT: No function matches the given name and argument types. You might need to add explicit type casts.SQL=SELECT u.name, count(cd.language) as counted, MAX(cd.language='*') as all_languages FROM #__users AS u LEFT JOIN #__contact_details AS cd ON cd.user_id=u.id LEFT JOIN #__languages as l on cd.language=l.lang_code WHERE EXISTS (SELECT * from #__content as c where c.created_by=u.id) AND (l.published=1 or cd.language='*') AND cd.published=1 GROUP BY u.id HAVING (counted !=3 OR all_languages=1) AND (counted !=1 OR all_languages=0)\r\n"},"comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments/198885461","html_url":"https://github.com/joomla/joomla-cms/issues/9486#issuecomment-198885461","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/9486","id":198885461,"user":{"login":"alikon","id":181681,"avatar_url":"https://avatars.githubusercontent.com/u/181681?v=3","gravatar_id":"","url":"https://api.github.com/users/alikon","html_url":"https://github.com/alikon","followers_url":"https://api.github.com/users/alikon/followers","following_url":"https://api.github.com/users/alikon/following{/other_user}","gists_url":"https://api.github.com/users/alikon/gists{/gist_id}","starred_url":"https://api.github.com/users/alikon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alikon/subscriptions","organizations_url":"https://api.github.com/users/alikon/orgs","repos_url":"https://api.github.com/users/alikon/repos","events_url":"https://api.github.com/users/alikon/events{/privacy}","received_events_url":"https://api.github.com/users/alikon/received_events","type":"User","site_admin":false},"created_at":"2016-03-20T09:45:11Z","updated_at":"2016-03-20T09:45:11Z","body":"@infograf768 hoping that i've understand #9492 ;)"}}