Fernando Nasser <fnasser@redhat.com> writes:
> Tom Lane wrote:
>> Currently, the table name associated with an unparsed statement is typically
>> just a string. I propose replacing this with a RelationRef node type,
>> carrying a List of names corresponding to the dotted names of the reference
>> (1 to 3 names). Alternatively, we could just use the raw List of names and
>> not bother with an explicit node; any preferences?
> We can handle most cases with RangeVar (+ the ones you've proposed
> above).
Right, I had not noticed there was already a suitable node type.
RangeVar will do fine, no need to invent RelationRef ...
regards, tom lane