query interminable - Mailing list pgadmin-support

From Pedro Costa
Subject query interminable
Date
Msg-id 4E4CFA09.7030804@sapo.pt
Whole thread Raw
Responses Re: query interminable
List pgadmin-support
Hello to all,

This is my first mail to the list. Sorry for the bad english. I need 
your help.
I import 8 shapefiles to a database of pgadmin, (4 stretes and 4 rides). 
I want to determinate the street of each ride by the distance so i write 
a query but in some cases, when i run one spatial query, i have a problem.
The query results fine in 2 cases but in the others don't have luck 
because is the query don terminate and keep run, never ends. It works 
with tables with less features so i don't understand the problem.

I tried merge two shapes (one that work and other that not work), import 
to pgadmin but still don't work.

Can anybody help me?


Thanks


Query:

psql -d osm -c "UPDATE passeios SET rua = (SELECT FID_ FROM eixos_rua 
ORDER BY ST_Distance(eixos_rua.wkb_geometry,passeios.wkb_geometry) ASC 
LIMIT 1)"


pgadmin-support by date:

Previous
From: Giuseppe Sacco
Date:
Subject: Re: compiling on debian does not find a valid PostgreSQL 8.4+ installati
Next
From: Guillaume Lelarge
Date:
Subject: Re: query interminable