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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

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: Mon, 30 Apr 2007 19:16:36 -0400
  • Message-id: <10628.1177974996@sss.pgh.pa.us> <text/plain>

"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



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group