Re: Really strange foreign key constraint problem blocking delete - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Really strange foreign key constraint problem blocking delete
Date
Msg-id 5433E691.5090203@aklaver.com
Whole thread Raw
In response to Re: Really strange foreign key constraint problem blocking delete  (Tim Mickelson <tim_mickelson@bigfoot.com>)
Responses Re: Really strange foreign key constraint problem blocking delete  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On 10/06/2014 11:29 PM, Tim Mickelson wrote:
> What should I disable? Corrupt index sounds like a possible case, but
> how do I fix this?
>

http://www.postgresql.org/docs/9.1/static/runtime-config-query.html

enable_indexscan (boolean)

     Enables or disables the query planner's use of index-scan plan
types. The default is on.

SET enable_indexscan=off;

EXPLAIN ANALYZE DELETE  query

SET enable_indexscan=on;

>
> EXPLAIN ANALYZE
> select * from cubesocialnetwork.tmp_autenticazionesocial where
> idautenticazionesocial = 1622
>
>


--
Adrian Klaver
adrian.klaver@aklaver.com


pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Really strange foreign key constraint problem blocking delete
Next
From: Emanuel Calvo
Date:
Subject: Re: Processor usage/tuning question