Re: log bind parameter values on error - Mailing list pgsql-hackers

From Andres Freund
Subject Re: log bind parameter values on error
Date
Msg-id 20190214202352.xo7dxcvztziyqdxr@alap3.anarazel.de
Whole thread Raw
In response to log bind parameter values on error  (Alexey Bashtanov <bashtanov@imap.cc>)
List pgsql-hackers
Hi,

On 2018-12-14 23:04:26 +0000, Alexey Bashtanov wrote:
> Unfortunately, when enabled, the feature comes with some memory and CPU
> overhead,
> as we cannot convert certain values to text when in aborted transaction.

Have you analyzed how invasive it'd be to delay that till we actually
can safely start a [sub]transaction to do that logging? Probably too
expensive, but it seems like something that ought to be analyzed.

- Andres


pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Log a sample of transactions
Next
From: Andres Freund
Date:
Subject: Re: log bind parameter values on error