Skip site navigation (1) Skip section navigation (2)

Re: Effects of GUC settings on automatic replans

From: Gregory Stark <stark(at)enterprisedb(dot)com>
To: "Jim Nasby" <decibel(at)decibel(dot)org>
Cc: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: Effects of GUC settings on automatic replans
Date: 2007-03-25 00:06:58
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
"Jim Nasby" <decibel(at)decibel(dot)org> writes:

> On Mar 21, 2007, at 5:11 AM, Tom Lane wrote:
>> 	constraint_exclusion
>> I'm inclined not to worry about these, since changing them can't affect
>> the semantics of the query, at worst its performance.
> Hrm... wasn't that option added in case there was a bug in the exclusion code?
> I certainly can't think of any performance reason why  you'd want to disable
> it... so it might be worth invalidating plans  if it changes.

It was added precisely because we didn't have plan invalidation... If you
dropped a constraint there was previously nothing to force the plan to be
recalculated if it depended on the constraint for correctness.

  Gregory Stark

In response to

pgsql-hackers by date

Next:From: Bruce MomjianDate: 2007-03-25 01:20:33
Subject: Copyrights on files
Previous:From: Bruce MomjianDate: 2007-03-24 23:12:22
Subject: Re: Grouped Index Tuples / Clustered Indexes

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group