Re: Allowing NOT IN to use ANTI joins

From: Vik Fearing <vik(dot)fearing(at)dalibo(dot)com>
To: David Rowley <dgrowleyml(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Allowing NOT IN to use ANTI joins
Date: 2014-06-09 11:51:10
Message-ID: 53959FAE.50709@dalibo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2014-06-09 11:53:15 Re: Supporting Windows SChannel as OpenSSL replacement
Previous Message Heikki Linnakangas 2014-06-09 11:45:08 Supporting Windows SChannel as OpenSSL replacement