Re: constraint exclusion and nulls in IN (..) clause - Mailing list pgsql-hackers

From Emre Hasegeli
Subject Re: constraint exclusion and nulls in IN (..) clause
Date
Msg-id CAE2gYzwUL90jOSOxFhxhG7VWGgT0f+v8=SMyj1S-HKqUbZPP5g@mail.gmail.com
Whole thread Raw
In response to Re: constraint exclusion and nulls in IN (..) clause  (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>)
Responses Re: constraint exclusion and nulls in IN (..) clause  (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>)
List pgsql-hackers
> Hmm, state->next refers to two different pointer values on line 1 and line
> 2.  It may end up being set to NULL on line 1.  Am I missing something?

True, lnext(state->next) can set it to NULL.  I confused by the below
code on the same function doing the steps in reverse order.  With this
cleared, I have nothing else to say, so I am setting this to ready for
committer.


pgsql-hackers by date:

Previous
From: Amit Langote
Date:
Subject: Re: constraint exclusion and nulls in IN (..) clause
Next
From: Amit Langote
Date:
Subject: Re: constraint exclusion and nulls in IN (..) clause