Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)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