Re: can't cancel a query with pg_cancel_backend

From: Marc Cousin <mcousin(at)sigma(dot)fr>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: can't cancel a query with pg_cancel_backend
Date: 2009-05-05 14:48:12
Message-ID: 200905051648.12707.mcousin@sigma.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Tuesday 05 May 2009 16:35:11 Tom Lane wrote:
> Marc Cousin <mcousin(at)sigma(dot)fr> writes:
> > [ can't cancel this query ]
> >
> > Index Scan using file_jpfid_idx on file (cost=0.00..7327212.07
> > rows=2128 width=104)
> > Index Cond: (pathid = 120)
> >
> > "file_jpfid_idx" btree (jobid, pathid, filenameid)
>
> Hmm ... is it likely that index entries with pathid = 120 are *very* few
> and far between in jobid order? It looks like we have no
> CHECK_FOR_INTERRUPTS calls inside the loop in _bt_next(), which is
> probably a mistake ...
>
> regards, tom lane

They are very few and far between...

In fact. there are none, as I had just removed them and I wasn't sure of it,
so I was double-checking before telling my colleagues it was OK :)

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2009-05-05 15:11:35 Re: can't cancel a query with pg_cancel_backend
Previous Message Tom Lane 2009-05-05 14:35:11 Re: can't cancel a query with pg_cancel_backend