Re: Problems with extended-Query logging code

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Problems with extended-Query logging code
Дата
Msg-id 5811.1157641706@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Problems with extended-Query logging code  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: Problems with extended-Query logging code  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> Tom Lane wrote:
>> I happened to notice that the recently added code to log Bind-message
>> parameters was printing garbage into my log.  On investigation it turned
>> out to be trying to print an already-pfree'd string.  That's fixable,

> Uh, can you show me where?

I didn't trace it down yet, but what I saw was garbage printed at
Execute time in an assert-enabled build.  I think the bind-parameter
string that's being saved in the portal for Execute to print is not
copied into the portal's context.  Since I want to get rid of that bit
anyway it didn't seem critical to identify the exact bug.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Timezone List
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Problems with extended-Query logging code