Re: [HACKERS] Re: psql and comments

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] Re: psql and comments
Дата
Msg-id 199910072354.TAA09368@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Re: psql and comments  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> 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
 


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Re: Top N queries and disbursion
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: [HACKERS] Re: PostgreSQL Help