Issue 857 sql load balancing

Use custom slave sessions to speed up SQL queries among several PostgreSQL slave nodes.
one question: why are we here making an explicit session instead of using get_session() like in the other places?