View Single Post

   
  #4 (permalink)  
Old 04-10-2008, 08:27 AM
Michael Fuhr
 
Posts: n/a
Default Re: BUG #1393: Adding 'LIMIT 1' to the query halts forever if no data present

On Fri, Jan 14, 2005 at 11:18:15AM -0700, Michael Fuhr wrote:
>
> Since you say the query takes forever to return, it might be useful
> to see the output of pg_locks.


Reminder to self: "takes forever to return" might mean "eventually
returns, but takes a long time". Should have asked for clarification
and EXPLAIN or EXPLAIN ANALYZE output.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Reply With Quote