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

Re: Allow use of stable functions with constraint exclusion

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Marshall, Steve" <smarshall(at)wsi(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Allow use of stable functions with constraint exclusion
Date: 2007-04-30 23:16:36
Message-ID: 10628.1177974996@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
"Marshall, Steve" <smarshall(at)wsi(dot)com> writes:
> I have developed a small patch to optimizer/util/plancat.c that 
> eliminates one of hte caveats associated with constraint exclusions, 
> namely the inability to avoid searching tables based on the results of 
> stable functions.

Do you not understand why this is completely unsafe?

			regards, tom lane

In response to

Responses

pgsql-hackers by date

Next:From: Henry B. HotzDate: 2007-04-30 23:23:13
Subject: Re: Fwd: [PATCHES] Preliminary GSSAPI Patches
Previous:From: Bruce MomjianDate: 2007-04-30 22:33:18
Subject: Re: Heap page diagnostic functions

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