<div dir="ltr">Hi,<div><br></div><div><span style="font-family:arial,sans-serif;white-space:pre-wrap;background-color:rgb(248,249,250)">I am using the query below to return a hydrograph of a region (using POSTGIS). This query works perfectly when I use it in pgadmin. With the mapserver, the connection with the client is lost. It records a query that shows no errors in SQL, just shows that the connection has lost.
Why is that?</span><br></div><div><span style="font-family:arial,sans-serif;white-space:pre-wrap;background-color:rgb(248,249,250)"><br></span></div><div>DATA "geom FROM (<br> SELECT<br> hidro.fid, <a href="http://hidro.name">hidro.name</a>, ST_Intersection(gcc.geom, hidro.geom) AS geom<br> FROM<br> vector.hidrography AS hidro, <br> vector.gcc AS gcc<br> WHERE ST_Intersects(gcc.geom, hidro.geom) AND <a href="http://gcc.name">gcc.name</a> = 'GRANDE' <br> ) as subquery USING UNIQUE fid USING SRID=4326"</div><div><br></div><div>Thanks in advance<br><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><span style="color:rgb(0,0,0)"><span style="background-color:rgb(255,255,255)"><font size="2"><br></font></span></span></div><div><span style="color:rgb(0,0,0)"><span style="background-color:rgb(255,255,255)"><font size="2"><b><a href="http://lattes.cnpq.br/0646984654461300" target="_blank">Fernando Martins Pimenta</a></b></font></span></span><br>Graduando em Engenharia de Agrimensura e Cartográfica - UFV<br>Bacharel em Engenharia de Biossistemas - UFSJ<br><br><a href="http://www.biosfera.dea.ufv.br" target="_blank">www.biosfera.dea.ufv.br</a><br><img src="https://docs.google.com/uc?id=0BwEKA5E4J-qwcmZVMDJDMm9FUEE&export=download" height="48" width="96"><br></div><br></div><br></div></div></div></div></div></div></div></div></div>