Hi Half, <div><br></div><div><div>The trigger worked with your help  (NEW.the_geom), thank you!!!</div><div><br></div><div>However there is something intriguing... when I deleted all the records from the pipeline table and inserted the first record, It's not works (the field was empty), the field of trigger that should be filled, works only from the second record and everything works fine after that, interesting isn't?</div>
</div><div><br></div><div>Cheers,</div><div>-- <br><b>Marcello Benigno B. de Barros Filho</b><br><font size="1">Prof. do Curso Superior de Tecnologia em Geoprocessamento - IFPB<br>Mestre em Ciências Geodésicas e Tecnologias da Geoinformação - UFPE</font><div>
<font size="1">Doutorando em Tecnologia Ambiental e Recursos Hídricos - UFPE</font><font size="1"><br></font><font size="1"><a href="http://profmarcello.blogspot.com" target="_blank">http://profmarcello.blogspot.com</a></font><div>
<a href="http://about.me/marcello.benigno" target="_blank"><font size="1">http://about.me/marcello.benigno</font></a></div></div>
</div>