BZ-1022910 - Retrieving task instances when using PostgreSQL (Large Object facility requires transacitons and eager initialization)
(cherry picked from commit a8c1e0a4c447cf6386c4ac8e3542d70c82093516)