Fix OX-5996 SQL stored banners not working on PostgreSQL
Fixed missing connection res in function calls
Added test for PR #72
Merge branch 'ox-5996-sql-banners-postgres'