My bad ... Actually I was not using the output.getVectorWriter object the correct way. After fixing it the layer extracting from postgis by uri resulted in the default layer style from postgis to be add automatically using the getVectorWriter of the processing.core.outputs.OutputVector object.
If would still be smart if one could have an after processAlgorithm signal for setting other stuff like adding feature count in TOC. Jakob ----- Jakob Lanstorp -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html _______________________________________________ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer