[QGIS-Developer] Is it possible to make QGIS show the fired queries to databases in Debugging Tools?
Andreas Neumann
a.neumann at carto.net
Fri Jul 29 02:20:15 PDT 2022
Hi Ale,
Thanks for the clarification - good to know!
Andreas
On 2022-07-29 11:12, Alessandro Pasotti wrote:
> Hi,
>
> It is currently implemented for PG, Oracle, MSSQL and spatialite.
>
> On Fri, Jul 29, 2022 at 10:48 AM Andreas Neumann via QGIS-Developer
> <qgis-developer at lists.osgeo.org> wrote:
>
>> Hi Richard,
>>
>> Yes, this happens from time to time to me as well, that I am looking
>> for a new feature and it turns out that it is already implemented ;-)
>>
>> As far as I know, it is only implemented for Postgis so far - other DB
>> engines could be added, if someone cares about it.
>>
>> Greetings,
>>
>> Andreas
>>
>> On 2022-07-29 10:41, Richard Duivenvoorde via QGIS-Developer wrote:
>>
>> Duh...
>>
>> Thanks Andreas, how can I have missed this...
>>
>> Too many features syndrome I think :-)
>>
>> Thanks, working great (at least for Postgis, not other db around
>> here...)
>>
>> Regards,
>>
>> Richard
>>
>> On 7/29/22 10:34, Andreas Neumann wrote:
>>
>> Hi Richard,
>>
>> This should already be available in the debugging tools --> Query
>> Logger
>>
>> It was a recent QGIS grant project and developed by elpaso.
>>
>> Greetings,
>>
>> Andreas
>>
>> On 2022-07-29 10:25, Richard Duivenvoorde via QGIS-Developer wrote:
>>
>> Doing some Postgis work with QGIS, I often asked myself what queries
>> QGIS is firing to the database.
>> I can off course log that in the database, but I was wondering if QGIS
>> had some 'signal' which could be use to pass the queries used to the
>> Debugging Tools?
>>
>> I skimmed QgsDataProvider, QgsVectorDataProvider and the Postgres
>> provider, but I think these are not so communicative as the QGIS
>> Network request, so I think it will be harder then I hoped... as
>> always :-(
>>
>> OR am I missing some signal which could be used?
>>
>> Regards,
>>
>> Richard Duivenvoorde
>>
>> PS else this is just a nice feature request for the Debugging Tools
>> :-)
>> _______________________________________________
>> QGIS-Developer mailing list
>> QGIS-Developer at lists.osgeo.org <mailto:QGIS-Developer at lists.osgeo.org>
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
>>
>> _______________________________________________
>> QGIS-Developer mailing list
>> QGIS-Developer at lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
>> _______________________________________________
>> QGIS-Developer mailing list
>> QGIS-Developer at lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20220729/44215fe5/attachment.htm>
More information about the QGIS-Developer
mailing list