Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: cache result of parsing server_version
Save version number after parsing it from string. No need to recalculate it again. Backend does not always send server_version_num, thus the driver falls back to string parsing. See discussion on hackers list: http://www.postgresql.org/message-id/CAMsr+YFt1NcjseExt_Ov+frk0Jzb0-DKqYKt8ALzVEXHBM0jKg@mail.gmail.com This improves Statement.setObject(int, UUID) which ckecks for server version. closes #464
- Loading branch information