<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hi Richard,</p>
<p>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 ;-)</p>
<p>As far as I know, it is only implemented for Postgis so far - other DB engines could be added, if someone cares about it.</p>
<p>Greetings,</p>
<p>Andreas</p>
<p id="reply-intro">On 2022-07-29 10:41, Richard Duivenvoorde via QGIS-Developer wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"><span style="white-space: nowrap;">Duh...</span><br /><br /><span style="white-space: nowrap;">Thanks Andreas, how can I have missed this...</span><br /><br /><span style="white-space: nowrap;">Too many features syndrome I think :-)</span><br /><br /><span style="white-space: nowrap;">Thanks, working great (at least for Postgis, not other db around here...)</span><br /><br /><span style="white-space: nowrap;">Regards,</span><br /><br />Richard<br /><br /><span style="white-space: nowrap;">On 7/29/22 10:34, Andreas Neumann wrote:</span>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><span style="white-space: nowrap;">Hi Richard,</span><br /><br /><span style="white-space: nowrap;">This should already be available in the debugging tools --> Query Logger</span><br /><br /><span style="white-space: nowrap;">It was a recent QGIS grant project and developed by elpaso.</span><br /><br /><span style="white-space: nowrap;">Greetings,</span><br /><br />Andreas<br /><br /><span style="white-space: nowrap;">On 2022-07-29 10:25, Richard Duivenvoorde via QGIS-Developer wrote:</span><br /><br />
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><span style="white-space: nowrap;">Doing some Postgis work with QGIS, I often asked myself what queries QGIS is firing to the database.</span><br /><span style="white-space: nowrap;">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?</span><br /><br /><span style="white-space: nowrap;">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 :-(</span><br /><br /><span style="white-space: nowrap;">OR am I missing some signal which could be used?</span><br /><br /><span style="white-space: nowrap;">Regards,</span><br /><br /><span style="white-space: nowrap;">Richard Duivenvoorde</span><br /><br /><span style="white-space: nowrap;">PS else this is just a nice feature request for the Debugging Tools :-)</span><br />_______________________________________________<br /><span style="white-space: nowrap;">QGIS-Developer mailing list</span><br /><span style="white-space: nowrap;"><a href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a> <mailto:<a href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a>></span><br /><span style="white-space: nowrap;">List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a> <<a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>></span><br /><span style="white-space: nowrap;">Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a> <<a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>></span></blockquote>
<br /><br /></blockquote>
<br />_______________________________________________<br /><span style="white-space: nowrap;">QGIS-Developer mailing list</span><br /><span style="white-space: nowrap;"><a href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a></span><br /><span style="white-space: nowrap;">List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></span><br /><span style="white-space: nowrap;">Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></span></div>
</blockquote>
<p><br /></p>

</body></html>