Fix using MariaDB slow range select workaround with Postgresql (#88459)
* Mark PostgreSQL range select as fast Currently we were using the slow range select workaround for PostgreSQL that was original developed for MariaDB but its actually slower on PostgreSQ fixes #83253 * Mark PostgreSQL range select as fast Currently we were using the slow range select workaround for PostgreSQL that was original developed for MariaDB but its actually slower on PostgreSQ fixes #83253
This commit is contained in:
parent
0b311c8c7f
commit
3533e77ec9
3 changed files with 2 additions and 11 deletions
|
@ -460,7 +460,7 @@ def test_supported_pgsql(caplog: pytest.LogCaptureFixture, pgsql_version) -> Non
|
|||
|
||||
assert "minimum supported version" not in caplog.text
|
||||
assert database_engine is not None
|
||||
assert database_engine.optimizer.slow_range_in_select is True
|
||||
assert database_engine.optimizer.slow_range_in_select is False
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue