Re: Logging statements and parameter values - Mailing list pgsql-general

From Tom Lane
Subject Re: Logging statements and parameter values
Date
Msg-id 2383.1138375574@sss.pgh.pa.us
Whole thread Raw
In response to Logging statements and parameter values  (Ted Powell <ted@theplace.enposte.net>)
List 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 by date:

Previous
From: "Ilja Golshtein"
Date:
Subject: Re: table is not a table
Next
From: Tom Lane
Date:
Subject: Re: PG_RESTORE and database size