Commits

Hong Minhee committed 6bfa062

Fixed wrong regex pattern -- group vendor name

  • Participants
  • Parent commits f283cb3
  • Branches enterprisedb

Comments (0)

Files changed (1)

lib/sqlalchemy/dialects/postgresql/base.py

     def _get_server_version_info(self, connection):
         v = connection.execute("select version()").scalar()
         m = re.match(
-            'PostgreSQL|EnterpriseDB '
+            '(?:PostgreSQL|EnterpriseDB) '
             '(\d+)\.(\d+)(?:\.(\d+))?(?:\.\d+)?(?:devel)?',
             v)
         if not m: