I am using the Model Designer in QGIS to create a tool and I am using the PostgreSQL execute and load SQL algorithm to add my query.

The output is a layer loaded in QGIS named SQL layer.

Is there a way to change the output name?

I have tried the rename layer algorithm but with no luck.

Especially for multiple SQL queries -> outputs, renaming the output layer is essential.


1 Answer 1


Use load layer in the project but it only works for model builder:

enter image description here enter image description here


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.