Extract PostgreSQL version parts.