Re: are there any method that "Update" command not affect other unrelated indices? - Mailing list pgsql-general

From Ben Carbery
Subject Re: are there any method that "Update" command not affect other unrelated indices?
Date
Msg-id AANLkTik7=1g+US-e1HxHxjWyD1urTRE4p8Hs14GtP-2f@mail.gmail.com
Whole thread Raw
In response to are there any method that "Update" command not affect other unrelated indices?  (sunpeng <bluevaley@gmail.com>)
Responses Re: are there any method that "Update" command not affect other unrelated indices?
List pgsql-general
Well, the objects indices 1,2,3 point to changed when you changed column a4, but I don't know if that's the reason. I would guess that the indices are structured as pointers of some kind though.

On Wed, Oct 13, 2010 at 9:03 AM, sunpeng <bluevaley@gmail.com> wrote:

the question is why all four indices updated in the execution of SPI_execute_plan()? 
I think there should only one index, that is ind_a4 be updated, how to avoid other three indices updated?
thanks!

pgsql-general by date:

Previous
From: sunpeng
Date:
Subject: are there any method that "Update" command not affect other unrelated indices?
Next
From: sunpeng
Date:
Subject: Re: are there any method that "Update" command not affect other unrelated indices?