Re: Fix for tablename in targetlist - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Fix for tablename in targetlist
Date
Msg-id 10258.990333008@sss.pgh.pa.us
Whole thread Raw
In response to Re: Fix for tablename in targetlist  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Fix for tablename in targetlist  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> 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.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Re: External search engine, advice
Next
From: Tom Lane
Date:
Subject: Re: Functions returning sets