Re: Logging statements and parameter values

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Logging statements and parameter values
Дата
Msg-id 2383.1138375574@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Logging statements and parameter values  (Ted Powell <ted@theplace.enposte.net>)
Список pgsql-general
Ted Powell <ted@theplace.enposte.net> writes:
> Has this not been done simply because nobody has gotten around to it, or
> are there pitfalls?

What are you going to do with binary parameter values?  Calling the
type's output converter is possible but not very pleasant.

> Also, the Datum params[i].value, does it necessarily hold displayable
> text, even when its content is the output of a binary input converter?

Datums are guaranteed *not* to be displayable text.

            regards, tom lane

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

Предыдущее
От: "Ilja Golshtein"
Дата:
Сообщение: Re: table is not a table
Следующее
От: Tom Lane
Дата:
Сообщение: Re: PG_RESTORE and database size