| 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 |
| Message-ID: | 8efd95fe-3886-61f0-0faa-6c661cd2f874@imap.cc |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| 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
Best,
Alex
| Attachment | Content-Type | Size |
|---|---|---|
| log_parameters_v002.patch | text/x-patch | 21.8 KB |
| 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 |