> Bruce Momjian <[EMAIL PROTECTED]> writes:
> > In fact, I was
> > right that you have to call transformTargetEntry() -> transformExpr() ->
> > transformIdent() to get isRel set, and I have to do the longer fix.
> 
> Yes, I would think that you should do transformTargetEntry() first and
> then look to see if you have an Ident w/ isRel set.  The initial patch
> was OK because it happened after that transformation.

Yes, and you can't do that later because you need to add to the target
list.  Calling transformTargetEntry returns a Resdom, which I don't
think I can tell if that is a rel or not, and it mucks up
pstate->p_last_resno++.  I will show the patch on the patches list.  It
does things similar to what happens above in that function.


-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  [EMAIL PROTECTED]               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Reply via email to