]> git.openstreetmap.org Git - nominatim.git/commitdiff
use constant expressions to select partial indexes in reverse
authorSarah Hoffmann <lonvia@denofr.de>
Sat, 8 Jul 2023 14:28:51 +0000 (16:28 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Sat, 8 Jul 2023 22:31:53 +0000 (00:31 +0200)
When expressions are generated with SQLAlchemy, any constants are
replaced with bind parameters. The bind parameters become parameters of
prepared statements. The result is that the query planner tends to
oversee that the partial indexes can be used.


No differences found