Re: prepared statements don't log arguments?

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: prepared statements don't log arguments?
Дата
Msg-id 425493EA.9040601@familyhealth.com.au
обсуждение исходный текст
Ответ на Re: prepared statements don't log arguments?  (Greg Stark <gsstark@mit.edu>)
Ответы Re: prepared statements don't log arguments?
Список pgsql-hackers
>>postgres[30059]: [97-1] LOG:  statement: INSERT INTO group_data (this_group_id,
>>item_text, link_path) VALUES ($1, $2, $3)
>>
>>I really need to know the *real* arguments... How can I get them? Is it a bug?
> 
> 
> The bug was that prepared statements didn't work properly in the past. That is
> the statement you're actually running.
> 
> You might want to look into JDBC options to disable use of prepared
> statements. The old emulation code must still be there in case it runs against
> a <=7.4 database so perhaps there's an option to use it.

I think he has a really excellent point.  It should log the parameters 
as well.

Chris


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Recognizing range constraints (was Re: [PERFORM] Plan for
Следующее
От: Neil Conway
Дата:
Сообщение: Re: prepared statements don't log arguments?