Re: Allowing NOT IN to use ANTI joins - Mailing list pgsql-hackers

From Vik Fearing
Subject Re: Allowing NOT IN to use ANTI joins
Date
Msg-id 53959FAE.50709@dalibo.com
Whole thread Raw
In response to Allowing NOT IN to use ANTI joins  (David Rowley <dgrowleyml@gmail.com>)
List pgsql-hackers
On 06/08/2014 02:36 PM, David Rowley wrote:
> +        if (!get_attnotnull(tle->resorigtbl, tle->resorigcol))
> +            return false;

As Marti says, you can't do this because NOT NULL doesn't have an oid to
attach a dependency to.  You'll have to restrict this test to primary
keys only for now.
-- 
Vik



pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Supporting Windows SChannel as OpenSSL replacement
Next
From: Magnus Hagander
Date:
Subject: Re: Supporting Windows SChannel as OpenSSL replacement