Re: log bind parameter values on error

From: Andres Freund <andres(at)anarazel(dot)de>
To: Alexey Bashtanov <bashtanov(at)imap(dot)cc>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: log bind parameter values on error
Date: 2019-02-14 20:23:52
Message-ID: 20190214202352.xo7dxcvztziyqdxr@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2019-02-14 20:28:42 Re: log bind parameter values on error
Previous Message Andres Freund 2019-02-14 20:14:04 Re: Log a sample of transactions