Select Features By Value not working with boolean and checkboxes in PostgreSQL #60152
Open
2 tasks done
Labels
Attribute Table
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
PostGIS data provider
What is the bug or the crash?
With a field defined as boolean type in a PG table, the
Select by Value
tool is not finding the corresponding values in the table. The same table exported in geopackage, with the same field definition and same widget type is working correctly.Steps to reproduce the issue
At the bottom I'm attaching the PG table definition and the geopackage with the same table.
I'm also attaching some screenshot that should be self explanatory.
Postgres
same behavior for True and False: no matching feature are found. Clicking on
Show in table
I see this("bool_val"=)
Geopackage
same behavior for True and False: the selection is made correctly
Here the PG table definition to reproduce the error:
And here the geopackage: test_checkbox.zip
Versions
QGIS 3.34 but also QGIS dev (QGIS version | 3.41.0-Master, QGIS code revision | eba8d20)
<style type="text/css"> p, li { white-space: pre-wrap; }Active Python plugins
lizmap
4.4.6
plugin_comune_senigallia
1.0.0
pluginbuilder3
3.2.1
line_plan_survey
0.4.0
plugin_reloader
0.17
DataPlotly
4.2.0
SpreadsheetLayers
2.1.2
groma
1.0.0
processing
2.12.99
MetaSearch
0.3.6
db_manager
0.1.20
Supported QGIS version
New profile
Additional context
No response
The text was updated successfully, but these errors were encountered: