Don't read beyond the result set in offset emulation
Fixed PostgreSQL version detection
Bumped version to 0.3