Re: Planned cleanups in attribute parsing

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Planned cleanups in attribute parsing
Дата
Msg-id 25620.1015446488@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Planned cleanups in attribute parsing  (Fernando Nasser <fnasser@redhat.com>)
Список 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 по дате отправления:

Предыдущее
От: Fernando Nasser
Дата:
Сообщение: Re: Planned cleanups in attribute parsing
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Combining chars in psql (pre-patch)