Re: [PATCHES] Re: [HACKERS] Almost there on column aliases

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: [PATCHES] Re: [HACKERS] Almost there on column aliases
Дата
Msg-id 38A8C61D.90557A4B@alumni.caltech.edu
обсуждение исходный текст
Ответ на Almost there on column aliases  (Thomas Lockhart <lockhart@alumni.caltech.edu>)
Ответы Re: [HACKERS] Almost there on column aliases  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: [HACKERS] Almost there on column aliases  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> > Right. I'm looking forward to advice on the right way to do this. The
> > problem is that the introductory character for list structures is
> > *also* the introductory character for plans, so everything blows
> > chunks if I just call nodeRead() from _readAttr().
> Huh?  '{' introduces a node, '(' introduces a list.  See the comments
> I added (not very long ago :-() in read.c.  My guess is that you are
> either emitting the wrong character or have some sort of error in the
> way you call nodeRead.  Nothing obviously wrong in the patch diffs
> though.

The problem I recall is that paren also introduces a "plan", and if
you call nodeRead() it sees the paren and then complains later because
it expects a node label following the paren.

I probably misdiagnosed the behavior, but in any case I'd be *really*
happy if someone wants to put me out of my misery on this one ;)
                  - Thomas

-- 
Thomas Lockhart                lockhart@alumni.caltech.edu
South Pasadena, California


В списке pgsql-hackers по дате отправления:

Предыдущее
От: The Hermit Hacker
Дата:
Сообщение: Re: [HACKERS] pid_t define missing in include/miscadmin.h ...
Следующее
От: Chris Bitmead
Дата:
Сообщение: Re: [HACKERS] Solution for LIMIT cost estimation