Re: [QGIS-Developer] Catch PostgreSQL logs in pyqgis

2024-03-04 Thread WhereGroup
Hi Matteo, https://api.qgis.org/api/master/classQgsDatabaseQueryLog.html does have appropriate signals (queryFinished and queryStarted, both include the query) but it looks like they are not documented in the Python API https://qgis.org/pyqgis/master/core/QgsDatabaseQueryLog.html It *looks*

Re: [QGIS-Developer] Ubuntu GIS repo with new gdal, LERC and ZSTD support?

2024-03-04 Thread Jürgen E . Fischer via QGIS-Developer
Hi Andreas, On Mon, 04. Mar 2024 at 17:51:56 +0100, Andreas Neumann via QGIS-Developer wrote: > I am wondering if there is a ubuntu (or debian) package repository available > with a relatively new gdal, LERC and ZSTD support? Ideally a repo that can > be added to Ubuntu 22.04 > Thank you if you

Re: [QGIS-Developer] Ubuntu GIS repo with new gdal, LERC and ZSTD support?

2024-03-04 Thread Brian M Hamlin via QGIS-Developer
#osgeolive is a project of OSGeo dot org, and is part of the developer chain that builds UbuntuGIS   https://live.osgeo.org An experimental build of new GDAL and QGIS can be found here https://launchpad.net/~ubuntugis/+archive/ubuntu/ubuntugis-experimental/+packages This is fresh-paint new

[QGIS-Developer] Catch PostgreSQL logs in pyqgis

2024-03-04 Thread Matteo Ghetta via QGIS-Developer
Hi devs, I'm looking for a way in pyqgis to catch the (raw) queries that QGIS is sending to the PostgreSQL provider when a table is edited: for example the raw "INSERT ... INTO ...", "UPDATE ...". Basically what the Development Panel is listing when enabled. Is there a way in pyqgis?

[QGIS-Developer] Ubuntu GIS repo with new gdal, LERC and ZSTD support?

2024-03-04 Thread Andreas Neumann via QGIS-Developer
Hi, I am wondering if there is a ubuntu (or debian) package repository available with a relatively new gdal, LERC and ZSTD support? Ideally a repo that can be added to Ubuntu 22.04 I compiled things myself in the past, but it would be convenient for docker containers to install from

[QGIS-Developer] QGIS & field computer and unauthorized DB structure change

2024-03-04 Thread Elstermann, Mike via QGIS-Developer
Hello everyone, I have noticed the following: if I have read and write access (DML) to a PostgreSQL table, but no access to structure changes (DDL), then I can, for example, add new columns with the field calculator and fill them with results. Everything seems to run normally, I do not get a

Re: [QGIS-Developer] QgsGeometry's .get() and segfaults

2024-03-04 Thread Julien Cabieces via QGIS-Developer
Hi, Calling get() means that you get a reference of the QgsAbstractGeometry used by the QgsGeometry object, but the QgsGeometry object (g) is still the ownership of the QgsAbstractGeometry object (g_geom). So, if you delete your QgsGeometry (g) you delete the owned QgsAbstractGeometry

Re: [QGIS-Developer] cache management on Github workflows

2024-03-04 Thread Julien Cabieces via QGIS-Developer
Hi Denis, And thank you for this work! Regards, Julien > Dear all, > > You might have noticed heavy traffic for the last 24h on the Github actions. > > There was an issue in the former workflow and I took the opportunity to clean > up the situation. > > I have moved to upstream save cache