[HACKERS] Re: [QUESTIONS] Bug ?

Поиск
Список
Период
Сортировка
От Vadim B. Mikheev
Тема [HACKERS] Re: [QUESTIONS] Bug ?
Дата
Msg-id 61cf64f9402d66896020777f54ca640b
обсуждение
Список pgsql-hackers
Bruce Momjian wrote:
>
> >
> > I changed varno/varattno to varnoold/varoattno: in the case of joins
> > varno-s may be INNER/OUTER (65000/65001) - you got crash from here, -
> > varattno-s may be changed too.
> > They are the same as varno/varattno if no join.
>
> Yep, that is my code.  It is checking for the varchar() length to create
> the new table.  I am not sure how non-old and old varattno values work
> in this area, but if the 'old' variable works better, let's make the
> change.
>
> It may be that the 'old' varattno points to the proper range table
> entry, and the non-old entry points to a pseudo-range table entry for a
> inner/outer join.

Non-old varattno points to the position of var in target list of
join-relation.

>
> Vadim, can you apply the change?  You seem to be in a better position
> because you have a working patch there.

Ok, I'll do it now.

Vadim

------------------------------

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