Re: Shouldn't execParallel.c null-terminate query_string in theparallel DSM?

Поиск
Список
Период
Сортировка
От Rafia Sabih
Тема Re: Shouldn't execParallel.c null-terminate query_string in theparallel DSM?
Дата
Msg-id CAOGQiiMfPibwV1cxep2dVxSmHc0H+xC0h5QJgBAD6J14zGAeJA@mail.gmail.com
обсуждение исходный текст
Ответ на Shouldn't execParallel.c null-terminate query_string in the parallel DSM?  (Thomas Munro <thomas.munro@enterprisedb.com>)
Ответы Re: Shouldn't execParallel.c null-terminate query_string in theparallel DSM?  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers


On Wed, Dec 20, 2017 at 7:58 AM, Thomas Munro <thomas.munro@enterprisedb.com> wrote:
Hi hackers,

I just saw some trailing garbage in my log file emanating from a
parallel worker when my query happened to be a BUFFERALIGNed length
(in this case 64 characters).  Did commit 4c728f382970 forget to make
sure the null terminator is copied?  See attached proposed fix.

Yes, I missed that.
Your patch looks good to me, thanks. 

--
Regards,
Rafia Sabih

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: TRAP: FailedAssertion("!(TransactionIdPrecedesOrEquals
Следующее
От: Masahiko Sawada
Дата:
Сообщение: Re: User defined data types in Logical Replication