Re: BUG #1393: Adding 'LIMIT 1' to the query halts forever

From: "Fahad G(dot)" <Fahad(dot)Gilani(at)anusf(dot)anu(dot)edu(dot)au>
To: Michael Fuhr <mike(at)fuhr(dot)org>
Cc: <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #1393: Adding 'LIMIT 1' to the query halts forever
Date: 2005-01-14 23:01:56
Message-ID: BE0E9A94.2095%Fahad.Gilani@anusf.anu.edu.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 15/1/05 9:55 AM, "Fahad G." <Fahad(dot)Gilani(at)anusf(dot)anu(dot)edu(dot)au> wrote:
....
> -- Grants
> REVOKE ALL ON TABLE jobstat_lc_q3_2004 FROM PUBLIC;
> GRANT SELECT ON TABLE jobstat_lc_q3_2004 TO apache;
...

Sorry about that, I pasted the wrong 'grants' from the log. This should be
..._q4_... Where it says q3.

Also, the following 'fails' as well:

hpc=> SELECT jobid, curr_walltime, status, fetchtime FROM jobstat_lc_q4_2004
WHERE jobid = 123123 ORDER BY fetchtime DESC LIMIT 1;

Or

hpc=> SELECT * FROM jobstat_lc_q4_2004 WHERE jobid = 123123 ORDER BY
fetchtime DESC LIMIT 1;

Cheers,
Fahad

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Andrew Lazarus 2005-01-15 00:54:35 BUG #1399: web site problem
Previous Message Fahad G. 2005-01-14 22:55:42 Re: BUG #1393: Adding 'LIMIT 1' to the query halts forever