diff --git a/README.rst b/README.rst index f00c20e5..885cf8ee 100644 --- a/README.rst +++ b/README.rst @@ -59,7 +59,7 @@ How to use .. warning:: - Tested on PostgreSQL versions >= 10. See tests for more details. + Tested on PostgreSQL versions >= 14. See tests for more details. How does it work ---------------- diff --git a/newsfragments/1250.break.rst b/newsfragments/1250.break.rst new file mode 100644 index 00000000..3ecd9ce7 --- /dev/null +++ b/newsfragments/1250.break.rst @@ -0,0 +1 @@ +Support only PostgreSQL version 14 and up. diff --git a/pytest_postgresql/executor.py b/pytest_postgresql/executor.py index bff67afe..17cf0bd3 100644 --- a/pytest_postgresql/executor.py +++ b/pytest_postgresql/executor.py @@ -57,7 +57,7 @@ class PostgreSQLExecutor(TCPExecutor): ) VERSION_RE = re.compile(r".* (?P\d+(?:\.\d+)?)") - MIN_SUPPORTED_VERSION = parse("10") + MIN_SUPPORTED_VERSION = parse("14") def __init__( self,