<div dir="ltr"><div class="gmail_extra">Thanks for the reply, I needed to grant connect permissions to the postgres database and then the sr_check_user worked :).</div></div>