Re: Planned cleanups in attribute parsing - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Planned cleanups in attribute parsing
Date
Msg-id 25620.1015446488@sss.pgh.pa.us
Whole thread Raw
In response to Re: Planned cleanups in attribute parsing  (Fernando Nasser <fnasser@redhat.com>)
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: Fernando Nasser
Date:
Subject: Re: Planned cleanups in attribute parsing
Next
From: Bruce Momjian
Date:
Subject: Re: Combining chars in psql (pre-patch)