<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">We've done a bit more digging on this issue and I think I know what's happening now.</div><div class="gmail_default" style="font-family:tahoma,sans-serif">

<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">The frequent NOTICE messages in the server log are related to a PostgreSQL function call from a PHP script in one of our web applications. The function issues ST_IsValid against a column in a table that has many invalid geometries. The function uses dblink to access the table because it resides in a different PostgreSQL database than the one in which the function resides. If I run the SQL from the function directly in the database in which the table lives, no NOTICE is sent to the server log. If I execute the function in the database (in which the function lives), I get the NOTICE messages in the server log. So I think this is a dblink issue, and PostGIS was a red herring. </div>

<div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Shira</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jan 22, 2014 at 9:02 AM, Shira Bezalel <span dir="ltr"><<a href="mailto:shira@sfei.org" target="_blank">shira@sfei.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif"><span style="font-family:arial,sans-serif;font-size:13px">Okay, show log_min_messages  returns 'warning'. </span></div>

<span class="HOEnZb"><font color="#888888"><div class="gmail_default" style="font-family:tahoma,sans-serif">
<span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><span style="font-family:arial,sans-serif;font-size:13px">Shira</span></div></font></span></div>


<div class="gmail_extra"><div><div class="h5"><br><br><div class="gmail_quote">On Wed, Jan 22, 2014 at 7:29 AM, Sandro Santilli <span dir="ltr"><<a href="mailto:strk@keybit.net" target="_blank">strk@keybit.net</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On Wed, Jan 22, 2014 at 07:18:03AM -0800, Shira Bezalel wrote:<br>
> Hi Sandro,<br>
><br>
> show client_min_messages returns 'notice', but that parameter shouldn't<br>
> affect what is  written to the log, correct?<br>
<br>
</div>You're right, check<br>
<br>
  show log_min_messages;<br>
<br>
As Paul said, PostGIS uses PostgreSQL facilities, not its own...<br>
<br>
--strk;<br>
<div><div>_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org" target="_blank">postgis-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div></div></div><div class="im">-- <br><div dir="ltr"><div><div><font color="#666666" face="tahoma, sans-serif">Shira Bezalel </font></div><div><font color="#666666" face="tahoma, sans-serif">Systems & Database Manager</font></div>


<div><font color="#666666" face="tahoma, sans-serif">San Francisco Estuary Institute</font></div><div><font color="#666666" face="tahoma, sans-serif"><a href="http://www.sfei.org" target="_blank">www.sfei.org</a></font></div>


<div><font color="#666666" face="tahoma, sans-serif">Ph: <a href="tel:510-746-7304" value="+15107467304" target="_blank">510-746-7304</a></font></div></div><div style="font-weight:bold;font-style:normal;font-variant:normal;line-height:20px;margin:0px">

<br style="line-height:normal;font-size:13px;font-family:Tahoma;font-weight:normal">
</div>
<div style="padding-top:8px">
         </div></div>
</div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div><div><font color="#666666" face="tahoma, sans-serif">Shira Bezalel </font></div><div><font color="#666666" face="tahoma, sans-serif">Systems & Database Manager</font></div>

<div><font color="#666666" face="tahoma, sans-serif">San Francisco Estuary Institute</font></div><div><font color="#666666" face="tahoma, sans-serif"><a href="http://www.sfei.org" target="_blank">www.sfei.org</a></font></div>

<div><font color="#666666" face="tahoma, sans-serif">Ph: 510-746-7304</font></div></div><div style="font-weight:bold;font-style:normal;font-variant:normal;line-height:20px;margin:0px"><br style="color:rgb(0,0,0);font-family:Tahoma;font-size:13px;font-weight:normal;line-height:normal">

</div>
<div style="padding-top:8px">
         </div></div>
</div>