<div dir="ltr"><div>I have already asked this question at <a href="http://gis.stackexchange.com/questions/89287/how-do-i-catch-postgis-postgresql-raise-messages-in-qgis">http://gis.stackexchange.com/questions/89287/how-do-i-catch-postgis-postgresql-raise-messages-in-qgis</a> but it hasn't got the attention of anyone who could help.</div>

<div><br></div>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).<div>

<br></div><br clear="all"><div>James</div>
</div>