Skip to content

Commit 3f0db90

Browse files
committed
Remove is_postgresql_14, add is_postgresql_17
1 parent 7ebf9fd commit 3f0db90

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

django-stubs/db/backends/postgresql/features.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ class DatabaseFeatures(BaseDatabaseFeatures):
4545
has_json_operators: bool
4646
json_key_contains_list_matching_requires_list: bool
4747
@property
48-
def is_postgresql_14(self) -> bool: ...
49-
@property
5048
def is_postgresql_15(self) -> bool: ...
5149
@cached_property
5250
def is_postgresql_16(self) -> bool: ...
51+
@property
52+
def is_postgresql_17(self) -> bool: ...
5353
has_brin_autosummarize: bool
5454
has_websearch_to_tsquery: bool
5555
supports_table_partitions: bool

scripts/stubtest/allowlist_todo_django52.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ django.db.backends.postgresql.base.DatabaseWrapper.close_pool
6868
django.db.backends.postgresql.base.DatabaseWrapper.pool
6969
django.db.backends.postgresql.compiler
7070
django.db.backends.postgresql.features.DatabaseFeatures.django_test_skips
71-
django.db.backends.postgresql.features.DatabaseFeatures.is_postgresql_17
7271
django.db.backends.postgresql.features.DatabaseFeatures.supports_nulls_distinct_unique_constraints
7372
django.db.backends.postgresql.psycopg_any
7473
django.db.backends.sqlite3.base.DatabaseWrapper.transaction_modes

0 commit comments

Comments
 (0)