<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr">Thanks for the heads up Etienne! That’s great:) </div><div dir="ltr"><br><blockquote type="cite">On 13. Jul 2020, at 18:02, Etienne Trimaille <etienne.trimaille@gmail.com> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le lun. 13 juil. 2020 à 15:59, Nils Nolde <<a href="mailto:nilsnolde@gmail.com">nilsnolde@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I just realized that the processing algo PostGISExecuteSQL.py was <br>
removed for the 3.14 release. </blockquote><div><br></div><div>The algorithm has been ported to C++, so yes the python version has been removed.</div><div><a href="https://github.com/qgis/QGIS/blob/master/src/analysis/processing/qgsalgorithmexecutepostgisquery.cpp">https://github.com/qgis/QGIS/blob/master/src/analysis/processing/qgsalgorithmexecutepostgisquery.cpp</a></div><div>Even calling it from Python will work using the old previous Python processing provider because the compatibility is maintained.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Some time after processing.tools.postgis <br>
module was removed (as the only module using it was PostGISExecuteSQL, <br>
but still, it's a public API protected by backwards compatibility right?)<br></blockquote><div><br></div><div>Code in plugins (such as Processing or DB Manager) is not considered stable.<br></div><div>You should use the public API, when it's starting with "from qgis." core, gui, analysis, processing etc</div><div>You should use the new database API.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Was that a mistake?<br>
<br>
Cheers<br>
Nils<br>
<br>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote></div></div>
</div></blockquote></body></html>