Re: Evaluate expression at planning time for two more cases

Поиск
Список
Период
Сортировка
От Jaime Casanova
Тема Re: Evaluate expression at planning time for two more cases
Дата
Msg-id 20210927005209.GA26132@ahch-to
обсуждение исходный текст
Ответ на Re: Evaluate expression at planning time for two more cases  (David Rowley <dgrowleyml@gmail.com>)
Список pgsql-hackers
On Tue, Jul 06, 2021 at 01:09:56PM +1200, David Rowley wrote:
> On Tue, 9 Mar 2021 at 05:13, Ibrar Ahmed <ibrar.ahmad@gmail.com> wrote:
> > It was a minor change therefore I rebased the patch, please take a look.
> 
[...]
> 
> This is not really an acceptable way to determine the notnull
> attribute value. Andy Fan proposes a much better way in [1].
> RelOptInfo is meant to cache the required Relation data that we need
> during query planning. IIRC, Andy's patch correctly uses this and does
> so in an efficient way.
> 
> In any case, as you can see there's a bit of other work going on to
> smarten up the planner around NULL value detection. The UniqueKeys
> patch requires this and various other things have come up that really
> should be solved.
> 
> Surafel, I'd suggest we return this patch with feedback and maybe you
> could instead help reviewing the other patches in regards to the NOT
> NULL tracking and maybe come back to this once the dust has settled
> and everyone is clear on how we determine if a column is NULL or not.
> 
> Let me know your thoughts.
> 

Hi Surafel, 

We haven't seen an answer from you on this.
I'm marking the patch as "Returned with feedback" as was suggested.

-- 
Jaime Casanova
Director de Servicios Profesionales
SystemGuards - Consultores de PostgreSQL



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Masahiko Sawada
Дата:
Сообщение: Re: Skipping logical replication transactions on subscriber side
Следующее
От: Yugo NAGATA
Дата:
Сообщение: Re: PG 14 release notes, first draft