| От | Tom Lane |
|---|---|
| Тема | Re: I want to send comments to the backend! |
| Дата | |
| Msg-id | 10177.1048225294@sss.pgh.pa.us обсуждение |
| Ответ на | Re: I want to send comments to the backend! (Bruce Momjian <pgman@candle.pha.pa.us>) |
| Ответы |
Re: I want to send comments to the backend!
Re: I want to send comments to the backend! |
| Список | pgsql-interfaces |
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> OK, this patch fixes the comment passing bug. I remove the strspn() and
> added a boolean to test if any parsetree had been generated --- if not,
> I call NullCommand().
Seems like the hard way. I had in mind a quick
if (parsetree_list == NIL){ NullCommand(dest); return;}
before entering the main loop. It'd take a small amount of reordering
of the existing code to make this happen without adding any more code
than that, but it looked doable.
regards, tom lane
В списке pgsql-interfaces по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера