Обсуждение: why two WRITE_NODE_FIELD(whereCluase)?

Поиск
Список
Период
Сортировка

why two WRITE_NODE_FIELD(whereCluase)?

От
Tatsuo Ishii
Дата:
I see WRITE_NODE_FIELD(whereClause) twice in _outSelectStmt(). Maybe a
bug?
--
Tatsuo Ishii


Re: why two WRITE_NODE_FIELD(whereCluase)?

От
Tom Lane
Дата:
Tatsuo Ishii <t-ishii@sra.co.jp> writes:
> I see WRITE_NODE_FIELD(whereClause) twice in _outSelectStmt(). Maybe a
> bug?

Yeah, it is, though a pretty minor one since we never read SelectStmt
nodes back in again (they are not used in stored rules, which are
already Querys).  Feel free to fix it in HEAD.  Might want to check
the other fields while at it ...
        regards, tom lane