> OK, so the parser/planner/executor can cope with dummy input. That's
> good. There's still the problem of returning an 'empty query' response
> to the frontend. I think you'd probably need to hack up postgres.c
> so that when the querytree list produced by the parser is NIL, the
> IsEmptyQuery flag gets set --- this could be done instead of, rather
> than in addition to, the current test for an all-whitespace input
> buffer.
The system may already return that. My gram.y code tests for empty
queries, and should be doing the right thing. Not sure, because I am
not sure what to check for.
-- Bruce Momjian | http://www.op.net/~candle maillist@candle.pha.pa.us | (610)
853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill,
Pennsylvania19026