Re: can't cancel a query with pg_cancel_backend

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Marc Cousin <mcousin(at)sigma(dot)fr>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: can't cancel a query with pg_cancel_backend
Date: 2009-05-05 14:35:11
Message-ID: 16359.1241534111@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Marc Cousin 2009-05-05 14:48:12 Re: can't cancel a query with pg_cancel_backend
Previous Message Marc Cousin 2009-05-05 13:36:52 can't cancel a query with pg_cancel_backend