Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Virtual layer with JOIN on PostGIS layers not working anymore #60104

Open
2 tasks done
maltaesousa opened this issue Jan 10, 2025 · 0 comments
Open
2 tasks done

Virtual layer with JOIN on PostGIS layers not working anymore #60104

maltaesousa opened this issue Jan 10, 2025 · 0 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers PostGIS data provider Regression Something which used to work, but doesn't anymore

Comments

@maltaesousa
Copy link

maltaesousa commented Jan 10, 2025

What is the bug or the crash?

Virtual layer with a LEFT JOIN on two PostGIS layers don't work anymore.

Steps to reproduce the issue

  1. Download and restore this pg_dump pg_restore --create -U postgres -d postgres signalo_db.backup
  2. Download and open this simple projet
  3. Right click on virtual_layer -> open attribute table -> Problem, table is empty but it should not

Versions

Version de QGIS3.40.1-Bratislava
Révision du code989853a7
 
Libraries
Version de Qt5.15.13
Version de Python3.12.7
Version de GDAL/OGR3.9.3
Version de Proj9.5.0
Version de la base de données du registre EPSGv11.016 (2024-08-31)
Version de GEOS3.13.0-CAPI-1.19.0
Version de SQLite3.46.1
Version de PDAL2.8.1
Version du client PostgreSQL16.2
Version de SpatiaLite5.1.0
Version de QWT6.3.0
Version de QScintilla22.14.1
Version de l'OSWindows 10 Version 2009
 
Extensions Python actives
changeDataSource3.1
geomapfish_locator1.3.8
mask1.10.4
vmDeportWSI3.20
db_manager0.1.20
grassprovider2.12.99
MetaSearch0.3.6
processing2.12.99

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

Reproduce this steps on 3.30.0, 3.28.15 and both will work. Reproduce this virtual layer but with Geopackage on 3.40.1, it will also work

@maltaesousa maltaesousa added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Jan 10, 2025
@agiudiceandrea agiudiceandrea added Data Provider Related to specific vector, raster or mesh data providers Regression Something which used to work, but doesn't anymore PostGIS data provider labels Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers PostGIS data provider Regression Something which used to work, but doesn't anymore
Projects
None yet
Development

No branches or pull requests

2 participants