Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> On 10/17/2016 09:57 AM, Aleksander Alekseev wrote:
>> Sometimes it's useful to log content of files used in COPY ... TO ... and
>> COPY ... FROM ... queries. Unfortunately PostgreSQL doesn't allow to do
>> it, even if log_statement='all'. Suggested patch fixes this.
> I'm not in favor of this, especially if it's not even optional.
I'm not either. It sounds good when you're looking at toy examples,
but not when it means repeating gigabytes of COPY data into the log.
regards, tom lane