Re: log bind parameter values on error

From: Alexey Bashtanov <bashtanov(at)imap(dot)cc>
To: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: log bind parameter values on error
Date: 2019-01-12 15:00:04
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Hello Peter,

>> Unlike SQL, parameters may spend much more memory, so I'd have them
>> in portal memory context to make sure the memory is released earlier
>> rather than later.
> Having them in the portal structure is different from having it in the
> portal memory context. Although there is perhaps value in keeping them
> together.
yeah, to avoid pointers to deallocated areas

> Let's see how it looks.
please see attached


Attachment Content-Type Size
log_parameters_v002.patch text/x-patch 21.8 KB

In response to


Browse pgsql-hackers by date

  From Date Subject
Next Message Alexey Bashtanov 2019-01-12 15:11:37 Re: log bind parameter values on error
Previous Message Dmitry Dolgov 2019-01-12 12:42:25 Re: Pluggable Storage - Andres's take