diff --git a/django/db/backends/postgresql/operations.py b/django/db/backends/postgresql/operations.py
index 3582460..47cb2af 100644
a
|
b
|
import re
|
2 | 2 | |
3 | 3 | from django.db.backends import BaseDatabaseOperations |
4 | 4 | |
5 | | server_version_re = re.compile(r'PostgreSQL (\d{1,2})\.(\d{1,2})\.?(\d{1,2})?') |
| 5 | server_version_re = re.compile(r'\S+ (\d{1,2})\.(\d{1,2})\.?(\d{1,2})?') |
6 | 6 | |
7 | 7 | # This DatabaseOperations class lives in here instead of base.py because it's |
8 | 8 | # used by both the 'postgresql' and 'postgresql_psycopg2' backends. |
diff --git a/django/db/backends/postgresql/version.py b/django/db/backends/postgresql/version.py
index ed2ad9e..9578035 100644
a
|
b
|
import re
|
9 | 9 | # PostgreSQL 8.3.6 |
10 | 10 | # EnterpriseDB 8.3 |
11 | 11 | # PostgreSQL 8.3 beta4 |
| 12 | # PostgreSQL 8.4beta1 |
12 | 13 | VERSION_RE = re.compile(r'\S+ (\d+)\.(\d+)') |
13 | 14 | |
14 | 15 | def get_version(cursor): |