Skip to content

Commit 929eee0

Browse files
authored
Merge pull request #1253 from dbfixtures/issue-1250
Support only PostgreSQL 14 and never versions
2 parents 5a40735 + 92bacec commit 929eee0

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ How to use
5959

6060
.. warning::
6161

62-
Tested on PostgreSQL versions >= 10. See tests for more details.
62+
Tested on PostgreSQL versions >= 14. See tests for more details.
6363

6464
How does it work
6565
----------------

newsfragments/1250.break.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Support only PostgreSQL version 14 and up.

pytest_postgresql/executor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class PostgreSQLExecutor(TCPExecutor):
5757
)
5858

5959
VERSION_RE = re.compile(r".* (?P<version>\d+(?:\.\d+)?)")
60-
MIN_SUPPORTED_VERSION = parse("10")
60+
MIN_SUPPORTED_VERSION = parse("14")
6161

6262
def __init__(
6363
self,

0 commit comments

Comments
 (0)