[HACKERS] Re: [QUESTIONS] Bug ? - Mailing list pgsql-hackers

From Vadim B. Mikheev
Subject [HACKERS] Re: [QUESTIONS] Bug ?
Date
Msg-id 61cf64f9402d66896020777f54ca640b
Whole thread Raw
List 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 by date:

Previous
From: "Vadim B. Mikheev"
Date:
Subject: Re: [HACKERS] Re: Need 25 million hackers .......
Next
From: vijaya@cse.iitb.ernet.in
Date:
Subject: Re: [HACKERS] Re: Need 25 million hackers .......