fix User#recent_threads for postgresql
Merge pull request #106 from srgpqt/recent_threads

fix User#recent_threads for postgresql