Re: Fix issuing of multiple command completions per command
В списке pgsql-patches по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Fix issuing of multiple command completions per command |
| Дата | |
| Msg-id | 5307.1014837085@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Fix issuing of multiple command completions per command (Fernando Nasser <fnasser@redhat.com>) |
| Список | pgsql-patches |
Fernando Nasser <fnasser@redhat.com> writes:
> It seems a small change though. I believe I can safely let
> pg_exec_query_string do all the EndCommand() calls. I would just
> have to add your suggested change to get the CommandInfo as well.
> Let me know if you want me to try that.
I have already committed changes to call EndCommand from
pg_exec_query_string, and am currently working on cleaning up
BeginCommand as well. By the end of the day, both BeginCommand and
EndCommand will be called once per received query (raw parse tree).
BeginCommand doesn't actually do anything in this formulation
(all its functions have been pushed into DestReceiver setup routines)
but it seems appropriate to have it for symmetry. Somebody might want
it someday.
regards, tom lane
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера