fix(pgversion): Support comparison with Pg's beta version (e.g. "9.4beta2")(closes #5018)