[QGIS-Developer] Error with "PostGIS execute SQL'

Nyall Dawson nyall.dawson at gmail.com
Mon Jul 3 02:36:29 PDT 2017


On 3 July 2017 at 19:33, matteo <matteo.ghetta at gmail.com> wrote:
> Hi,
>
> the function "PostGIS execute SQL' of Processing seems not returning any
> results in QGIS, even with simple query like:
>
> SELECT * FROM test
>
> or
>
> SELECT * FROM test where id > 10
>
> the same strings on the same db and layer are working fine in DB Manager
> and with the "Add Layer" button.
>
> Should I open a ticket?

Simple answer - it's not designed to return results. It's for
executing commands like 'DROP DATABASE
all_my_data_that_i_havent_backed_up'

Nyall

>
> Thanks
>
> Matteo
> _______________________________________________
> 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


More information about the QGIS-Developer mailing list