[Qgis-developer] How do I catch PostGIS/PostgreSQL RAISE messages in QGIS?
James Nunn
jamesnunn123 at gmail.com
Mon Mar 17 01:21:45 PDT 2014
I have already asked this question at
http://gis.stackexchange.com/questions/89287/how-do-i-catch-postgis-postgresql-raise-messages-in-qgis
but
it hasn't got the attention of anyone who could help.
I have a trigger set up in PostGIS/PostgreSQL which will show a RAISE
WARNING when an inserted or updated polygon is within a certain distance of
some predefined planning constraints. I want this warning to be sent to
QGIS to alert a user to the proximity warning, but with a WARNING this does
not occur. On the other hand, using RAISE EXCEPTION shows an error in the
QGIS message bar but doesn't allow the insert/update to be committed (which
I want - it should be a warning, not an error).
James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20140317/89998a47/attachment.html>
More information about the Qgis-developer
mailing list