Improve DB version() implementation and add pg_version() support
14 files changed